Modular 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/modular-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/modular-scale/
Add a dynamic SVG badge to your README or docs.
[](https://fontfyi.com/glossary/modular-scale/)
Use the native HTML custom element.
A sequence of harmonious numbers based on a ratio (e.g., 1.25 minor third, 1.333 perfect fourth, 1.618 golden ratio) used to set type sizes.
A modular scale is a sequence of numbers derived from a base value and a consistent ratio, used to generate harmonious measurements across a design — particularly font sizes, but also spacing, component dimensions, and layout proportions. The term was popularized by Tim Brown's Modular Scale tool, though the concept originates in music theory (a musical scale is exactly this: a sequence based on harmonic ratios).
The relationship between modular scale and type scale is direct: a type scale is a modular scale applied specifically to typography.
Generating a scale:
Base: 1rem (16px)
Ratio: 1.333 (perfect fourth)
Scale values: 0.563, 0.75, 1, 1.333, 1.777, 2.369, 3.157, 4.209, 5.61...
Each value is the previous multiplied by the ratio. Each value divided by the ratio gives the previous.
CSS implementation using custom properties:
:root {
/* Perfect fourth scale (1.333) from 1rem base */
--scale--2: 0.563rem;
--scale--1: 0.75rem;
--scale-0: 1rem;
--scale-1: 1.333rem;
--scale-2: 1.777rem;
--scale-3: 2.369rem;
--scale-4: 3.157rem;
--scale-5: 4.209rem;
}
/* Typography */
small { font-size: var(--scale--1); }
p { font-size: var(--scale-0); }
h4 { font-size: var(--scale-1); }
h3 { font-size: var(--scale-2); }
h2 { font-size: var(--scale-3); }
h1 { font-size: var(--scale-4); }
/* Spacing derived from the same scale */
.card { padding: var(--scale-1); gap: var(--scale-0); }
Multi-stranded scales:
You can interleave two ratios from the same base, creating a denser set of values. This is common in design systems that need more intermediate steps:
Base: 16px
Strand 1 (ratio 1.5): 16, 24, 36, 54, 81...
Strand 2 (ratio 1.5, starting from 21): 21, 31.5, 47.25...
Combined: 16, 21, 24, 31.5, 36, 47.25, 54...
When to use vs. when to abandon:
Modular scales produce their best results in editorial and expressive contexts where the full range of sizes is deployed. In tightly constrained UI systems — data dashboards, admin interfaces — the mathematical sizes often land at awkward pixel values that conflict with alignment grids. Tailwind CSS's manually curated scale is a deliberate rejection of the modular scale for exactly this reason.
The scale is a design aid, not a constraint. Starting with a modular scale and then adjusting specific values for practical reasons is a valid approach — the mathematical base gives you a principled starting point and keeps unrelated adjustments from multiplying.
관련 용어
관련 도구
이 개념을 보여주는 폰트
더 알아보기
수직 리듬은 모든 텍스트와 간격을 일관된 베이스라인 그리드에 정렬해 시각적 조화를 만듭니다 — 웹에서는 까다롭지만 충분히 구현할 수 있습니다.
디자인 시스템잘 정의된 타입 스케일은 일관된 디자인의 기초입니다. 비율을 선택하고, 단계를 정의하고, 여러 플랫폼에 적용하는 방법을 배웁니다.
CSS 타이포그래피CSS 커스텀 속성을 이용해 조화로운 타입 스케일을 만듭니다 — 모듈러 비율, 반응형 크기 조정, 디자인 토큰 통합을 다룹니다.
타이포그래피 기초폰트 크기, 굵기, 색상, 간격으로 명확한 시각적 위계를 만듭니다. 콘텐츠를 훑어보기 쉽고 탐색하기 쉽게 만드는 원칙을 배웁니다.