Type Scale
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://fontfyi.com/iframe/glossary/type-scale/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://fontfyi.com/glossary/type-scale/
Add a dynamic SVG badge to your README or docs.
[](https://fontfyi.com/glossary/type-scale/)
Use the native HTML custom element.
A harmonious progression of font sizes based on a ratio (e.g., 1.25, 1.333, 1.5). Creates visual hierarchy and consistency.
A type scale is a curated set of font sizes derived from a mathematical ratio, creating visual harmony across all text elements in a design system. Rather than choosing arbitrary sizes (14px, 18px, 24px, 36px), a type scale generates sizes that feel proportionally related — because they are.
The major third scale (ratio: 1.25) is a reliable starting point for UI:
| Step | Multiplier | Size (base 16px) |
|---|---|---|
| xs | 0.64× | ~10px |
| sm | 0.8× | ~13px |
| base | 1× | 16px |
| lg | 1.25× | 20px |
| xl | 1.563× | 25px |
| 2xl | 1.953× | 31px |
| 3xl | 2.441× | 39px |
| 4xl | 3.052× | 49px |
Implementing a type scale in CSS custom properties:
:root {
--ratio: 1.25;
--text-xs: calc(var(--text-sm) / var(--ratio));
--text-sm: calc(var(--text-base) / var(--ratio));
--text-base: 1rem;
--text-lg: calc(var(--text-base) * var(--ratio));
--text-xl: calc(var(--text-lg) * var(--ratio));
--text-2xl: calc(var(--text-xl) * var(--ratio));
--text-3xl: calc(var(--text-2xl) * var(--ratio));
--text-4xl: calc(var(--text-3xl) * var(--ratio));
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
p { font-size: var(--text-base); }
Common ratios and their character:
- Minor second (1.067): Subtle scale, works for dense UI where size differences should be understated
- Major second (1.125): Conservative but clear, good for technical documentation
- Minor third (1.2): Versatile, widely used in design systems
- Major third (1.25): Clear hierarchy, recommended for general-purpose UI
- Perfect fourth (1.333): Assertive hierarchy, works well for editorial and marketing sites
- Golden ratio (1.618): Dramatic contrast, suits expressive display contexts
Tailwind CSS uses a hand-tuned scale (not a pure ratio) because strict mathematical scales sometimes produce awkward values. This is valid — the ratio is a starting point and constraint, not a rule you can't break.
For choosing a ratio, consider the range of text sizes in your design. If you have many heading levels, a smaller ratio like 1.2 keeps them from growing too large. If you only have two or three levels, a larger ratio like 1.333 creates the contrast needed to distinguish them clearly.
Tools like Type Scale and Utopia let you preview and export type scales interactively, including fluid scales that interpolate between two different ratios across viewport sizes.
관련 용어
관련 도구
이 개념을 보여주는 폰트
더 알아보기
SaaS 제품은 신뢰를 구축하고, 밀도 높은 UI에서 가독성을 보장하며, 플랫폼 전반에서 확장되는 타이포그래피가 필요합니다. SaaS 타이포그래피를 위한 완전 가이드입니다.
디자인 시스템Apple HIG, Material Design, IBM Carbon, Shopify Polaris 등이 타이포그래피를 다루는 방식을 분석합니다 — 폰트 선택, 스케일 시스템, 가이드라인을 다룹니다.
디자인 시스템브레이크포인트 전반에 걸친 타이포그래피 스케일링 — 반응형 타입 스케일, clamp()를 이용한 유동적 크기 조정, 모바일부터 데스크톱까지 위계 유지까지 다룹니다.
디자인 시스템디자인 토큰은 디자인과 개발을 연결합니다 — 폰트 패밀리, 크기, 굵기, 줄 높이, 간격을 구조화되고 플랫폼에 독립적인 값으로 다룹니다.