Fitts’s law

There is one very important law in interface design… wait. Didn’t someone say that there are no laws in design and never can be? Well, it depends on what you mean by design and by law. Besides, no statement should be taken too categorically. So: Fitts’s law.

Fitts’s law describes how fast a user can interact with interface elements. Roughly speaking, it tells how quickly the user can move the mouse cursor to, say, the Close button and click it. Obviously, the time depends on the size of the control and the distance the cursor has to travel. One of the mathematical forms of Fitts’s law, the Shannon formulation, looks like this:

Where T is the average time required to move the cursor,
a and b are experimentally established constants representing the response time and speed of the input device,
D is the distance, and W is the width of the control, measured along the line of cursor movement.

No formulas

Fitts’s law has one interesting nuance. The screen is not infinite: it has edges, and these edges limit the movement of the mouse. Unless special settings are enabled, the cursor doesn’t fly off the screen when it reaches an edge or reappear on the opposite side; it stays pinned to the edge.

That is why controls placed against the edges of the screen can be reached incredibly fast, sometimes without even looking. You don’t have to look far for an example: remember how easy it is to hit the Close button when a window is maximized.

So what, you might ask? Does anyone actually care? Perhaps only Apple does so deliberately. Microsoft follows the principle but always forgets something. Google carefully applied the law in its Chrome browser. As for other companies’ products… sometimes things are really bad.

Windows

Let’s look at how the interface of the well-known Windows operating system evolved. The first version of Windows to gain real popularity came out in 1992 and was called Windows 3.1.

Back then, Windows didn’t yet have its main interface element, the Start button, and offered only a pitiful imitation of a desktop and window manager. Even the close button wasn’t a cross but a bar, and it sat on the left. However, if you pushed the mouse all the way into the upper left corner of the screen, the button could be clicked!

Windows 95 is said to be the biggest leap in the evolution of the Windows interface. It introduced the Start button and completely reworked the desktop and file explorer. The window control buttons took on their familiar look and position.

Note that both the Start button and the Close button are separated from the screen edges by small gaps instead of touching them as in 3.1. And if you push the mouse all the way into a corner, you’ll find that the Close button responds to a click in the corner, but the Start button doesn’t. Either Microsoft forgot about its most important button, or the Close button’s behavior is some internal quirk of the operating system.

The Start button flaw lasted a long time and remained in every version of Windows until XP. That newly released OS got a new design and fixed many interface errors.

Hooray, the Start button’s clickable area now extends to the screen edges! No more flaw… unless you do something unusual and stretch the taskbar upward:

Having fixed one thing, the developers forgot about another. Many users make the taskbar two rows tall, and then the Start button ignores Fitts’s law. Far-fetched? Maybe, but Vista and Windows 7 fixed this flaw too.

Also, starting with Vista, the Start icon is highlighted as a whole area, making it much easier to hit. There is a nuance here too: in Vista, the button’s area touches both screen edges, while in Windows 7 it touches only the left one. It’s hard to imagine how that happened, but it is a clear and annoying flaw in Windows 7.

The Show Desktop button also deserves a mention: in Windows 7 it moved to the lower right corner and fully obeys Fitts’s law. On dual-monitor setups, the system doesn’t even let the mouse cross onto the second monitor if you move the cursor along the taskbar. So even with multiple monitors, the Show Desktop button can be clicked blindly.

Mac OS

Now let’s look at the Mac. Mac OS takes Fitts’s law into account very deliberately. Jef Raskin describes many subtleties of its interface in his book The Humane Interface.

The Mac OS menu bar is deliberately attached to the top edge of the screen, which makes its items much easier to hit. As a result, the window close button is harder to reach, but it is used far less often.

Browsers

Browser tabs deserve a story of their own. Chrome was the first browser to move them into the window’s title bar.

And Google did a great job, because it didn’t forget Fitts’s law. Chrome’s tabs touch the edge of the screen, so they are very easy to hit.

By moving the tabs into the title bar, Chrome saved a lot of space. Competitors immediately followed its example: first Opera, then Firefox.

Alas, the makers of these browsers missed what Google got right. Opera leaves a two-pixel gap above the tabs, apparently reserved for double-clicking. Firefox’s developers not only forgot about the law but ruined the whole idea and wasted a lot of space (fixed in the final release).