Fitts' law

Pointing time is a function of target distance over width.

By Karl F. MacDorman on June 1, 2022

Shannon formulation

In 1954, Paul Fitts proposed a mathematical function to estimate the mean time required to reach a target from its distance and width. In human–computer interaction, it is often introduced as

LaTeX: MT=a+b \log_2(\frac{D}{W}+1)

where MT is the mean time to reach the target, D is the target's distance, is its width, and a and b are empirically determined constants.

The index of task difficulty (ID) is the equation without the leading constants:

LaTeX: ID = \log_2(\frac{D}{W}+1)

If the distance D increases, the ID increases, but if the width W increases, the ID decreases. However, if both D and W increase or decrease proportionally, the ID does not change.

Target B's width and distance are double the values for Target A, but the ID is the same.

For example, Target A and Target B have the same ID, although Target B's distance and width are double those of Target A. This property is called scale independence.

The red line is ID if D varies with W set to 1 cm, but the blue line is ID if W varies with D set to 10 cm:

ID graphed varying W and holding D constant (blue line) or varying D and holding W constant (red line).

The Shannon formulation of ID includes + 1. This addition improves on Fitts' original ID because it better fits observations, always results in a positive value for ID, and follows Shannon's information theorem precisely (McKenzie & Buxton, 1992).

Extending to two dimensions

Fitts' law models a lateral movement to a target along one dimension. The target's height is not considered. The question arises of how to apply Fitts' law to human–computer interaction where the position of the target varies in two dimensions and its height and width also vary. One of the most straightforward solutions is to measure the target's width along the direction of approach W'.

The target's width in the direction of movement or the smaller of the height and width

This solution, however, requires considering the angle of approach θ. Several other alternatives have been proposed. One that is simple and comparable in effectiveness for rectangular targets is to use the height or width, depending on which has the smaller value: 

LaTeX: MT=a \times b \log_2(\frac{D}{\min(H,~W)}+1)

Determining the constants a and b

The mean time is a linear function of the index of difficulty, MT = a × b ID, so a is just the y-intercept of the line, and is its slope. Thus, these constants can be determined by fitting a line to user data, typically collected during an experiment.

LaTeX: MT=a+b~ID

In the experiment, D and W are independent variables. D has |D| levels, and W has |W| levels, yielding |D| × |W| conditions. Each condition comprises a block of trials presenting the user with the task of clicking on a target of width W at a distance DID is determined from D and W, and MT is the time the user takes to complete the trial. ID and MT are recorded, and a line is fit to these values by linear least squares to determine the y-intercept a and the slope b. The constants a and b for the above plot are listed below:

LaTeX: MT = 379.98 + 180.23~ID

Pearson's correlation r = 0.89. Typical values range from 0.85 to 0.95, where a higher value indicates the equation better fits the data.

Linear least-squares regression minimizes the sum of the squared differences between the recorded values and the line.

References

Bi, X., Li, Y., & Zhai, S. (2013). FFitts law: Modeling finger touch with Fitts' law. Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 1363–1372). https://doi.org/10.1145/2470654.2466180 

Fitts, P. M. (1954). The information capacity of the human motor system in controlling the amplitude of movement. Journal of Experimental Psychology, 47(6), 381–391. https://doi.org/10.1037/h0055392 

Ko, Y.-J., Zhao, H., Kim, Y., Ramakrishnan, I. V., Zhai, S., & Bi, X. (2020). Modeling two-dimensional touch pointing. Proceedings of the 33rd Annual ACM Symposium on User Interface Software and Technology (pp. 858–868). New York, NY: Association for Computing Machinery. https://doi.org/10.1145/3379337.3415871 

Ljubic, S., Glavinic, V., & Kukec, M. (2015). Finger-based pointing performance on mobile touchscreen devices: Fitts' law fits. In M. Antona & C. Stephanidis (Eds.), Universal access in human­–computer interaction. Access to today's technologies. UAHCI 2015. Lecture Notes in Computer Science, vol. 9175. Cham, Switzerland: Springer. https://doi.org/10.1007/978-3-319-20678-3_31 

MacKenzie, I. S., & Buxton, W. (1992). Extending Fitts's law to two-dimensional tasks. Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (pp. 219–226). ACM Press. https://doi.org/10.1145/142750.142794