Kerning vs. Letter Spacing: The Difference, Plus CSS

Kerning adjusts the space between one specific pair of letters. Letter spacing, also called tracking, changes the space between every letter in a word or line by the same amount. You kern to fix an awkward gap, like the wedge between an "A" and a "V". You change letter spacing to make a whole block of text looser or tighter.

KerningLetter spacing
What it changesThe gap between one pair of lettersEvery gap in a selection
Why you use itTo fix a gap that looks wrongTo change the feel of a whole word or line
Typical useLogos, headlines, large typeAll-caps text, small text, display headlines
In design toolsCursor between two lettersSelect the text, then set tracking
In CSSfont-kerning, which only turns the font's built-in kerning on or offletter-spacing

Kerning in typography

Every letter in a font sits in an invisible box, and by default the boxes sit side by side. That works for most pairs, but some shapes leave holes. An "A" next to a "V" leaves a wedge of space at the top. A "T" next to an "o" leaves a gap under the T's arm. Kerning moves the second letter in a pair closer or further away so the space looks even with the rest of the word.

Most of that work is done by the font itself. Type designers build a table of adjustments for the awkward pairs, and design tools and browsers apply it automatically. Manual kerning is for the pairs the font's table misses, which show up mostly at large sizes in logos and headlines.

For the full explanation, with examples, see what is kerning. To train your eye on what to fix, see good kerning vs. bad kerning.

Letter spacing in typography

Letter spacing adds or removes the same amount of space between every letter in a selection. Most design tools call it tracking. Browsers call it letter-spacing. They mean the same thing.

It changes the texture of text rather than fixing individual gaps. Three situations call for it:

  • All-caps text. Capitals are designed to sit next to lowercase letters, so a word set entirely in capitals looks cramped. A little extra letter spacing lets it breathe.
  • Small text. Captions, labels and fine print read more easily with slightly looser spacing, because the letters stay distinct.
  • Large headlines. At display sizes, the default spacing can look too loose. Tightening it slightly makes a headline hold together as one shape.

Body text at normal reading sizes needs no letter spacing. The font's default spacing was designed for it, and changing it doesn't help.

Kerning vs. letter spacing in practice

The two work together, and the order matters. Set the letter spacing first, because it changes every gap. Then kern the one or two pairs that still look wrong. If you kern first, the letter spacing shifts every pair afterward and you end up adjusting the same gaps twice.

All-caps headings show this best. Take a heading like "AVENUE". Open the letter spacing slightly so the capitals have room. Then look at the "A" and "V". Their wedge of space is now even more obvious, so kern that one pair tighter. The rest of the word stays as the letter spacing left it.

A quick way to tell which one you need: if one gap looks wrong, kern it. If the whole word looks too tight or too loose, change the letter spacing.

Kerning and letter spacing in CSS

CSS handles the two differently, and this is where most confusion comes from.

font-kerning controls the font's built-in kerning, nothing more. It has three values:

ValueWhat it does
autoThe browser decides. Some browsers skip kerning at small sizes
normalAlways applies the font's built-in kerning
noneTurns the font's built-in kerning off

The default is auto, so most text on the web is already kerned by the font's own table. Setting font-kerning to normal makes sure it's applied at every size. What font-kerning can't do is move one specific pair. It has no value for "pull the A and V closer".

letter-spacing sets the space between every letter. It takes a length, and em is the best unit, because the spacing then scales with the font size. A value of 0.05em adds five hundredths of the font size after every letter. Negative values tighten the text. A heading set to "letter-spacing: 0.05em" stays proportionally the same whether it's 24 or 48 pixels.

Three things about letter-spacing catch people out:

  1. It switches off optional ligatures. The CSS Fonts specification says a non-default letter-spacing disables optional ligatures, the joined letter pairs like "fi" and "fl" that many fonts use. Firefox extended this in 2023 to every kind of optional ligature, not only the common ones. If a font's ligatures are part of its look, letter spacing will remove them.
  2. It can add space after the last letter too. Browsers have traditionally added the spacing after every letter, including the final one. On centered text, that pushes the word slightly off center. On a button label, it leaves uneven padding. Compensate with a small matching padding on the opposite side.
  3. It applies to everything inside the element. Set it on a heading and every letter in the heading gets it. To space one part differently, wrap that part in its own element.

Kerning one pair by hand on the web. CSS has no property for one pair. The workaround is to wrap one letter in a span and adjust the space after it, with a negative letter-spacing or margin on that span. For example, wrap the "A" of "AVENUE" and give that span "letter-spacing: -0.08em", which pulls the "V" closer. Keep this to headlines and logos set as live text. On body text it's fragile. For a wordmark that has to look exactly right, an SVG is the better choice.

Check for optical sizing before you track a headline. Many variable fonts change their own spacing with size. They have an optical size setting that tightens spacing and narrows letters for large text. Browsers apply it automatically, because the CSS property font-optical-sizing defaults to auto. We measured two fonts directly from their files. At its largest optical size, Inter sets the word "Headline" 8% narrower than at its text size. Source Serif 4 sets it 19% narrower. So a headline in one of these fonts may already be tighter than you expect. Look at it before adding negative letter-spacing on top.

The same principle applies to x-height in CSS: the browser and the font handle the defaults, and you step in only where they fall short.

Kerning and letter spacing in word processors

Word processors offer the same two controls under different names.

Microsoft Word has both in the Font dialog, on the Advanced tab. Spacing, set to Expanded or Condensed by a number of points, is letter spacing. The "Kerning for fonts" checkbox turns on the font's built-in kerning above a size you choose. Word has no control for kerning one pair by hand. You can still select the first letter of a pair and condense its spacing, which pulls the next letter closer.

Google Docs has no letter spacing or kerning control. Text uses the font's built-in spacing and kerning as it is.

Common mistakes with kerning and letter spacing

  • Tracking body text. Paragraphs at reading size read best at the font's default spacing. Save letter spacing for headings, labels and all-caps text.
  • Kerning at the wrong zoom. A pair that looks right at 800% can look loose at the size people see it. Kern zoomed in, then check at the real size.
  • Using pixels for letter-spacing on the web. A fixed value like 2px looks right at one size and wrong at every other. Use em so the spacing scales with the text.
  • Fixing one gap with letter spacing. If only the "AV" looks wrong, tracking the whole word changes every other gap too. Kern the one pair instead.
  • Letter spacing script fonts. Connected scripts are drawn so letters join. Any letter spacing breaks the joins.

Kerning and letter spacing in design tools

Every major design tool separates the two the same way: put the cursor between two letters to kern, select text to track. The details differ by tool:

FAQs on kerning vs. letter spacing

Related reading