Skip to Content

Fitts' Law Calculator: Movement Time and Index of Difficulty

Fitts' Law Calculator

Fitts' law calculator: what it shows and what it does not

Fitts' law predicts how long it takes to move a pointer, finger or hand to a target. A farther target takes longer. A wider target takes less time. This page takes a target distance D and width W and shows the index of difficulty, a movement time in seconds, and a plain difficulty label.

The formula used

Shannon form: MT = a + b x log2(D/W + 1). The log2(D/W + 1) part is the index of difficulty, in bits. This page fixes a = 0 and b = 0.1 seconds per bit. These are fixed values, not measured on your device or users. Real studies fit a and b from timed trials, so read the seconds as a relative comparison between layouts, not as a prediction for a person or device.

Inputs and output

  • Target distance: from the start point to the center of the target, above 0.
  • Target width: the size of the target along the movement direction, above 0. Use the same unit as the distance.
  • Output: index of difficulty (3 decimals), movement time (2 decimals) and a difficulty label.
  • Very large ratios: if distance divided by width is too large to calculate, the tool shows a short message instead of a number.

How to use it

  1. Enter distance and width in the same unit.
  2. Press Calculate.
  3. Change one value at a time to compare layouts, for example a wider button or one placed closer.
  4. Press Reset to clear.

Worked examples

  • Distance 10, width 2: D/W = 5, index of difficulty 2.585 bits, movement time 0.26 seconds, Very Easy.
  • Distance 20, width 1: D/W = 20, 4.392 bits, 0.44 seconds, Very Easy.
  • Distance 5, width 5: D/W = 1, 1.000 bit, 0.10 seconds, Very Easy.
  • Distance 1000, width 1: 9.967 bits, 1.00 seconds (0.9967 before rounding), Easy.

Common mistakes

  • Mixing units. Only the ratio D/W matters, so use one unit for both. Centimeters, pixels or inches give the same result.
  • Measuring to the edge. Distance is to the center of the target.
  • Reading the seconds as exact. The constants are fixed, so use the numbers to compare options.

Limits

No fields for your own a and b, no 2D targets and no trial data. With a = 0 and b = 0.1 the label only leaves Very Easy when the index of difficulty reaches 5 bits, which needs D/W of 31 or more. The calculation runs in your browser page code.

Frequently Asked Questions

What do the difficulty labels mean?

Fixed bands on the calculated time: under 0.5 seconds is Very Easy, under 1.0 Easy, under 1.5 Moderate, under 2.0 Difficult, higher is Very Difficult. They are labels for comparing results, not a usability standard.

Can I set my own a and b?

No. If you have constants fitted from timed trials, apply MT = a + b x log2(D/W + 1) with your values to the index of difficulty shown here.

Why does a wider target lower the time?

A larger W lowers D/W, which lowers the index of difficulty, so the predicted time drops. Moving the target closer does the same.

What is the index of difficulty?

The value log2(D/W + 1), measured in bits. A higher number means a harder pointing task.

Which unit should I use?

Any, as long as both fields use the same one. The result depends on the ratio only.

Why do most results say Very Easy?

With the fixed constants the time stays below 0.5 seconds until the index of difficulty passes 5 bits. Compare the index and time values for finer differences.

Is this valid for touch screens?

The formula is used for touch targets too, but the constants here are not fitted to any device. Use it for comparing designs only.

Does the page send my numbers anywhere?

The calculation runs in your browser page code from the two values you type.

Support This Project

I'm Abu Omar from Gaza. I'm working toward an independent income through this free digital project. If you find it useful, please consider supporting me through Binance Pay. Your contribution is optional, and you're welcome here whether you donate or not.

Binance Pay QR code for supporting Abu Omar

Scan with the Binance app to support.

Binance UID: 1210053694