# DPI calculator

> Is the sensitivity a macro is made for different from the one you play with? Calculate the new DPI from your eDPI in a few seconds.

URL: https://promacro.ru/en/instructions/dpi-calculator/
Updated: 2026-11-01

Sometimes the in-game sensitivity a macro is made for differs from the one you usually play with. In that case you can change the DPI on your mouse to get the same eDPI. With [this calculator](https://promacro.ru/en/instructions/dpi-calculator/#dpi-calculator) you can quickly work out your own DPI value for macros and set the closest value in your mouse settings.

## DPI and CPI: what's the difference?
In mouse settings, DPI and CPI usually refer to the same setting: sensor sensitivity.

- **DPI** (dots per inch) is the number of dots divided by the distance in inches. Mouse manufacturers often use DPI to label CPI in their specifications.

- **CPI** (counts per inch) tells you how many counts the sensor registers per inch of mouse movement. At 400 CPI, the sensor registers about 400 counts per inch. How far the cursor moves on screen depends on your pointer settings.

## What is eDPI?
eDPI (Effective Dots Per Inch) is the **true in-game sensitivity**: the **in-game mouse sensitivity multiplied by the DPI** currently set on your mouse.

If your in-game sensitivity is «2» and your DPI is «400», your eDPI is «800» (2 \* 400 = 800). If your in-game sensitivity is «1» and your DPI is «800», your eDPI is also «800» (1 \* 800 = 800), and **the resulting in-game sensitivity is the same: despite the twofold difference in in-game sensitivity, the eDPI is identical in both cases**.

## DPI and macros
**Macros work the same regardless of DPI**, so you can use any DPI value, including the one the calculator suggests to keep your eDPI when you change the in-game sensitivity.

<form class="dpi-calc" id="dpi-calculator" aria-labelledby="dpi-calc-title">
<p class="dpi-calc__title" id="dpi-calc-title">DPI calculator for macros</p>
<label>Your usual in-game mouse sensitivity:<input type="number" name="sens" value="5" min="0.01" max="100" step="any" inputmode="decimal" required></label>
<label>Your usual DPI (CPI) on the mouse:<input type="number" name="dpi" value="400" min="100" max="25000" step="1" inputmode="numeric" required></label>
<label>In-game mouse sensitivity the macro is made for:<input type="number" name="macro" value="2.5" min="0.01" max="100" step="any" inputmode="decimal" required></label>
<p class="dpi-calc__result">Your ideal DPI (CPI) for comfortable play: <output name="result">800</output></p>
</form>

Done? Now set the in-game mouse sensitivity from the macro guide, and in your mouse software (A4Tech Bloody, Oscar, Logitech G HUB, Razer Synapse, etc.) set the DPI closest to the value calculated above.
