Web design
Convert tracking into CSS letter spacing
Translate thousand-em tracking into proportional CSS spacing.
1. Check units
A tracking value of 40 thousandths of an em is 0.04em, not 40px. Confirm the source tool's units.
2. Calculate
At 18px type, 0.04em equals 0.72px. Use the tracking conversion utility for other values.
3. Test a word
Compare uppercase display text and mixed-case body text independently. Excessive tracking can fragment words.
4. Review the CSS
Apply letter-spacing only to the intended role and verify wrap, punctuation and accents.
Translate a design handoff value
A designer specifies +40 tracking in thousandths of an em. Divide 40 by 1000 to get 0.04em. At 18px this is 0.72px, and at 36px it becomes 1.44px. Enter 40 in the tracking tool, then compare letter-spacing: 0.04em on a heading against normal. Test mixed case and punctuation before applying the rule.
Common pitfall
Confirm the design software uses thousandths of an em. CSS spacing is not pair-specific kerning, and a positive value that works on a short uppercase label may make a reading paragraph uncomfortable.