Keyboard Layout Analyzer, Explained

After reading this you will know how finger travel, home-row usage and same-finger bigrams are measured, how to read the heatmaps and scoreboard, and how much of the QWERTY-versus-Dvorak argument the numbers actually settle.

What the analyzer measures, and one example

A keyboard layout is a mapping from keys to letters. The physical keys stay where they are; the layout decides which letter each key types. QWERTY, Dvorak, Colemak and Workman all use the same 30-odd key positions on a standard keyboard, but they assign letters differently. The analyzer takes your text, types it out on each layout, and counts what your fingers would have to do.

Here is the hook. Type the word minimum on QWERTY. The letters m, i, n all sit under or near the right hand, and the sequence forces the same finger to hop repeatedly. On Dvorak, the vowels live on the left home row and the consonants on the right, so minimum alternates hands almost every keystroke. Same word, same seven letters, very different work. The analyzer puts a number on that difference.

The core idea is that typing effort is not one thing. It is a bundle of measurable behaviors: how far fingers travel, how often they stay on the home row, how often the same finger fires twice in a row, and how evenly the two hands share the load. The tool reports each separately, then rolls them into a single effort score.

When this is useful, and when it is not

Use the analyzer when you want evidence about your own typing rather than someone else's benchmark. The classic layout comparisons use generic English corpora. If you write Python all day, your text is full of underscores, brackets and the letters e, t, s in identifier-heavy patterns that no novel contains. Paste a real file and the metrics shift.

It is also useful for settling a specific claim. "Colemak keeps my hands on the home row more than QWERTY" is testable. Paste 5,000 words and read the home-row percentages.

The analyzer does not measure typing speed, and you should not read the effort score as a speed prediction. Measured speed differences between trained typists on different layouts are small. What the score captures is mechanical work and comfort, not words per minute.

Do not use it to decide whether relearning a layout is worth months of retraining. That decision depends on injury history, how much you type, and how much a 10 percent reduction in finger travel matters to you. The tool gives you the 10 percent; it cannot give you the answer.

The metrics and the math behind them

Each metric is a simple sum over your text. Start with finger travel. Every key has a position on a grid. The home row keys (a s d f for the left hand, j k l ; for the right on QWERTY) are the resting positions. When a finger leaves home to press a key, it travels a distance, and travel is measured in key units u, where one u is the spacing between two adjacent keys (about 19 mm on a real keyboard).

D = \sum_{i=1}^{n} \sqrt{(x_i - x_{h,i})^2 + (y_i - y_{h,i})^2}

Here n is the number of keystrokes, (x_i, y_i) is the grid position of the key pressed at step i, and (x_{h,i}, y_{h,i}) is the home position of the finger assigned to that key. Pressing a home-row key contributes 0. Pressing t on QWERTY (upper row, left index) contributes roughly one row of vertical travel plus a small horizontal offset.

Home-row usage is the fraction of keystrokes that land on a home-row key:

H = \frac{\text{keystrokes on the home row}}{n} \times 100\%

Same-finger bigrams (SFBs) count consecutive keystrokes assigned to the same finger on different keys. This is the metric skilled typists feel most, because one finger cannot press two keys at once, so it forces a pause.

\text{SFB}\% = \frac{\text{count of adjacent pairs on the same finger, different keys}}{n - 1} \times 100\%

Hand alternation is the fraction of adjacent keystroke pairs that switch from one hand to the other. High alternation lets one hand move to its next key while the other is still pressing, which feels fast and smooth.

The overall effort score is a weighted sum. A common form, used here, is:

E = w_1 D + w_2 (n - H_{\text{count}}) + w_3 \, \text{SFB}_{\text{count}} + w_4 \, R

where R is the number of row jumps (a keystroke two rows away from the previous one on the same hand), and the weights w_1 through w_4 tune how much each penalty counts. Lower E means less work. The weights are a modeling choice, not a law of nature, which is why two effort scores from different tools rarely match.

SFBs and row jumps double-count some keystrokes on purpose. A single awkward key can raise travel, break alternation and cause a row jump all at once. That is realistic: one bad key placement hurts in several ways.

A worked example on the demo text

The demo loads a short English passage. Take one representative sentence fragment, the quick brown fox, which is 19 characters including spaces and 16 letters. Spaces map to the thumb and cost nothing in travel, so 16 letters do the work.

Counting SFBs and home-row hits by hand

  1. List the letters: t h e q u i c k b r o w n f o x.
  2. On QWERTY, home-row letters among these are none of the resting keys except by finger stretch, so home-row hits are low. The letters t, u, i, o, r, w, q all sit on the upper row. That is 7 of 16 keystrokes on the top row, driving travel up.
  3. Check same-finger bigrams. On QWERTY the pair ui in "quick" both fall under right-hand fingers but on different fingers, so no SFB there. The word "brown" gives br (left index, then left index on adjacent keys): that is a same-finger move, one SFB.
  4. On Dvorak the vowels e u i o o (five of them here) all sit on the left home row, so home-row usage jumps and travel drops.

Extended across the full demo passage, the pattern below is typical. QWERTY keeps roughly a third of keystrokes on the home row; Colemak and Dvorak push that past 60 percent, and Dvorak's vowel-left design gives the highest hand alternation.

QWERTY keeps about a third of keystrokes on the home row; the alternatives roughly double that. Your exact numbers depend on your text.
Travel is shown relative to QWERTY at 100. Lower is less work. Colemak and Dvorak cut travel by roughly a third on typical English.

Reading the heatmaps and the scoreboard

Each on-screen keyboard glows brighter where your text presses more often. A layout that is doing well shows most of its heat on the home row and spread across both hands. A layout doing badly shows bright top-row keys and a lopsided hand split.

Read the scoreboard as a set of trade-offs, not a ranking. A layout can win on travel but lose on hand balance. Look at each metric in the direction that matters to you:

Finger travel
Lower is less physical motion. A drop from 100 to 65 means your fingers move about a third less over the same text.
Home-row usage
Higher keeps fingers resting. 68 percent means roughly two of every three keystrokes need no reach.
Same-finger bigrams
Lower is smoother. Under 1 percent is good; QWERTY on English runs higher because of pairs like ed and un.
Hand alternation
Higher often feels faster, but very high alternation can feel choppy for some typists. Read it alongside SFBs.

On the demo text, QWERTY scores about 34 percent home-row usage and 100 relative travel; Dvorak scores about 68 percent and 64; Colemak about 65 percent and 61; Workman about 60 percent and 66. Raising the weight on travel favors Colemak; raising the weight on same-finger bigrams favors Dvorak.

Common mistakes when comparing layouts

The first mistake is comparing on too little text. Ten words is dominated by which specific words you chose. Same-finger bigram rates stabilize only over a few thousand keystrokes. Paste at least a paragraph, ideally a full page.

The second is ignoring punctuation and numbers. Alternative layouts optimize letter placement and mostly leave the number row and symbols alone. If your text is 30 percent symbols (source code), the letter-layout advantage shrinks because a large share of keystrokes never moves.

Compare like with like. Run the same text through every layout at once, which the tool does automatically. Do not compare your QWERTY email against someone else's Dvorak novel and conclude anything.

The third mistake is treating the effort score as objective. The weights are assumptions. If you care only about same-finger bigrams because that is what your hands feel, look at that column and ignore the composite. The composite is a convenience, not a verdict.

The fourth is forgetting the cost of switching. A layout that saves 35 percent travel saves nothing if it takes you three months to reach your old speed and you type for a living.

Related tools

Layout analysis is one lens on text. If you want the plain size of what you pasted, the Word & Character Counter gives words, characters and reading time. To see which letters and pairs dominate your text (the very bigrams that drive same-finger penalties), use the Word Frequency & N-gram Analyzer, which lists your most common bigrams directly. To check what characters are actually present, including invisible ones that inflate keystroke counts, open the Unicode Inspector. If you are comparing how a layout changes across two drafts, the Text Diff Checker shows what moved. And for readability rather than mechanics, the Readability Scorer covers Flesch and related formulas.

Frequently asked questions

Which keyboard layout is fastest?

For a trained typist, the measured speed differences between QWERTY, Dvorak and Colemak are small, often within a few percent. Studies since the 1930s have failed to show a large, reliable speed advantage. Alternative layouts win on finger travel and comfort, not raw speed, so read the travel and same-finger bigram columns, not an imagined words-per-minute gain.

Why does QWERTY score badly on home-row usage?

QWERTY was arranged in the telegraph era and was not optimized for English letter frequency. Common letters like t, r, o sit on the top row, so a third or fewer of your keystrokes land on the home row. Dvorak and Colemak deliberately moved frequent letters home, reaching 60 percent or more.

What is a same-finger bigram and why does it matter?

It is two consecutive letters typed by the same finger on different keys, like ed or un on QWERTY. One finger cannot press two keys simultaneously, so it forces a small pause. This is the metric skilled typists report feeling most, which is why layouts are often tuned to minimize it even at the cost of other metrics.

Does the effort score include shift and punctuation?

Yes. Capital letters add a shift keystroke, and punctuation lands on whatever key the layout assigns. Because alternative layouts mostly rearrange letters and leave symbols alone, text heavy in punctuation or numbers shows a smaller layout difference than plain prose.

Is any of my text sent to a server?

No. The analysis runs entirely in your browser. Nothing you paste leaves your device, so you can safely test private emails or source code.