{"course":{"slug":"design-foundations","title":"Design, before Any Software","url":"https://addaly.com/learn/design-foundations","level":"beginner","track":"create"},"lesson":{"slug":"a-type-scale","title":"Four sizes, chosen once","url":"https://addaly.com/learn/design-foundations/a-type-scale","position":25,"of":74,"minutes":8,"answer":"Choose a small set of named sizes for recurring roles. Use the ratio to generate candidates, then test hierarchy, resizing and wraps with real content.","keyIdea":"Choose a small set of named sizes for recurring roles. Use the ratio to generate candidates, then test hierarchy, resizing and wraps with real content."},"body":{"format":"markdown","text":"## The list you should be able to write down\n\nA small set of named text sizes gives each recurring role a consistent starting point. Four or five can be enough for this example. Keep other sizes when they solve a clear problem for the content.\n\nA typical honest set:\n\n```\n12px  captions, legal, metadata\n16px  body\n20px  lead paragraph, card titles\n28px  section headings\n40px  page title\n```\n\nThese five values are examples of roles in one layout. Test labels, captions and body text at the actual viewing distance and enlarged settings. A size list helps people make consistent choices, while the content and use determine which choices work.\n\n## Building the scale\n\nChoose a base and ratio. The example uses 16 CSS pixels to make the arithmetic easy. A reader can change their browser settings, and a site can use a different base. For step n, calculate base × ratio to the power n.\n\n```\n1.2   (minor third)   16 → 19 → 23 → 28 → 33 → 40\n1.25  (major third)   16 → 20 → 25 → 31 → 39 → 49\n1.333 (perfect fourth) 16 → 21 → 28 → 38 → 51 → 67\n1.5   (perfect fifth)  16 → 24 → 36 → 54 → 81 → 122\n```\n\nRound to whole numbers for this exercise. The perfect fourth is approximately 1.333. The musical names are convenient labels. Each ratio gives predictable numeric steps, while visible hierarchy depends on the font, spacing, weight, colour and where the sizes are used.\n\nFor a step below the 16px base at ratio 1.25, divide by 1.25 to get 12.8px, or 13px rounded. Compare a 13px and 14px caption with nearby body text on the real device. Keep the value that reads clearly and carries the intended role.\n\n## The scale has to change size with the screen\n\nA ratio that suits a wide screen can produce a large heading on a narrow phone. At a 390px viewport, a 51px size describes the scale of the font, while the width of each glyph depends on its shape and font. Try a smaller step, compare actual wraps and leave room for a user's larger text setting.\n\nCSS does this in one declaration per size:\n\n> Figure: Two ratios, both from a 16-pixel base. Line chart of Size in pixels against Steps above the base: Ratio 1.2, a minor third (0, 16) (1, 19) (2, 23) (3, 28) (4, 33) (5, 40); Perfect fourth, about 1.333 (0, 16) (1, 21) (2, 28) (3, 38) (4, 51) (5, 67). Values are rounded from 16 × ratio to the power of the step. The larger ratio changes the number faster. Compare real fonts, wraps and enlarged text before choosing.\n\n```css\nh1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); }\n```\n\nWith a 16px root font size, the two `rem` limits are 28px and 48px. Between them, the preferred value combines a root-relative term and a viewport term. The relative term can help the text respond to the reader's settings. Check that text can resize to 200% without loss and test reflow and long headings at narrow widths. [W3C Resize Text](https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html).\n\n## Why fewer sizes is better\n\nThree reasons, in order of how much they matter:\n\n1. **Give each size a role.** Keep a heading at a consistent level so readers can recognise a new section.\n2. **Compare nearby sizes in context.** One or two pixels of difference may be hard to distinguish. Weight and space can make the hierarchy clearer.\n3. **Make revisions predictable.** Update a named value in one place, then check the pages that use it.\n\nThe audit is the same as for spacing: list every distinct size on a page and count. More than six on a single screen is a finding.\n\n## Size is not the only rank\n\nThe commonest misuse of a type scale is trying to express every level of hierarchy through size alone, which ends with six heading sizes and a page that looks like a ransom note.\n\nWeight, colour and space are all available. A subheading can be the same size as the body text, set in semibold, with 32px above it and 8px below. That is three channels doing the work of one size step, and it reads more clearly than a 17px heading ever will.\n\nIn long-form text this is the normal solution: two or three sizes for the whole document, with weight and space carrying the structure beneath the top level.\n\n## The limitation\n\nA modular scale is a convenience, not a law. Real typographic settings break it constantly: a price that has to be exactly as wide as a card, a logotype that was drawn at a fixed size, a legal notice a regulator specifies in points.\n\nThe workable position is that the scale is the default and departures are deliberate and documented, which is the same rule as for spacing. What you are avoiding is not the existence of an off-scale value; it is a page with nine of them and no memory of why."},"check":{"question":"A 5vw heading looks good at several widths. What should the designer verify before shipping?","options":[{"text":"That it matches the name of a conventional ratio in the type scale.","correct":false,"tempting":"A scale name does not test resizing or wrapping."},{"text":"That the default body size and heading size share the same number of pixels.","correct":false,"tempting":"Heading and body sizes can differ and still work together."},{"text":"That readers can enlarge the text and that it still wraps without lost content.","correct":true},{"text":"That the heading always occupies the same number of lines at each width.","correct":false,"tempting":"Different line counts can be appropriate when content reflows."}]},"prev":{"slug":"anatomy-that-matters","title":"The four measurements that decide how a typeface behaves","url":"https://addaly.com/learn/design-foundations/anatomy-that-matters"},"next":{"slug":"choosing-a-typeface-by-job","title":"Choosing a typeface, and what the licence actually says","url":"https://addaly.com/learn/design-foundations/choosing-a-typeface-by-job"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Four sizes, chosen once', in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/a-type-scale (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Four sizes, chosen once","courseTitle":"Design, before Any Software","module":{"index":3,"slug":"type-mechanically","title":"Type, mechanically"},"answer":null,"keyIdea":"Choose a small set of named sizes for recurring roles. Use the ratio to generate candidates, then test hierarchy, resizing and wraps with real content.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"type":"line","title":"Two ratios, both from a 16-pixel base","xLabel":"Steps above the base","yLabel":"Size in pixels","series":[{"label":"Ratio 1.2, a minor third","points":[[0,16],[1,19],[2,23],[3,28],[4,33],[5,40]]},{"label":"Perfect fourth, about 1.333","points":[[0,16],[1,21],[2,28],[3,38],[4,51],[5,67]]}],"caption":"Values are rounded from 16 × ratio to the power of the step. The larger ratio changes the number faster. Compare real fonts, wraps and enlarged text before choosing."},"alt":"Figure: Two ratios, both from a 16-pixel base. Line chart of Size in pixels against Steps above the base: Ratio 1.2, a minor third (0, 16) (1, 19) (2, 23) (3, 28) (4, 33) (5, 40); Perfect fourth, about 1.333 (0, 16) (1, 21) (2, 28) (3, 38) (4, 51) (5, 67). Values are rounded from 16 × ratio to the power of the step. The larger ratio changes the number faster. Compare real fonts, wraps and enlarged text before choosing."}},"blocks":[{"t":"h2","id":"the-list-you-should-be-able-to-write-down","runs":[{"text":"The list you should be able to write down"}]},{"t":"p","runs":[{"text":"A small set of named text sizes gives each recurring role a consistent starting point. Four or five can be enough for this example. Keep other sizes when they solve a clear problem for the content."}]},{"t":"p","runs":[{"text":"A typical honest set:"}]},{"t":"code","lang":"","label":"Text","text":"12px  captions, legal, metadata\n16px  body\n20px  lead paragraph, card titles\n28px  section headings\n40px  page title"},{"t":"p","runs":[{"text":"These five values are examples of roles in one layout. Test labels, captions and body text at the actual viewing distance and enlarged settings. A size list helps people make consistent choices, while the content and use determine which choices work."}]},{"t":"h2","id":"building-the-scale","runs":[{"text":"Building the scale"}]},{"t":"p","runs":[{"text":"Choose a base and ratio. The example uses 16 CSS pixels to make the arithmetic easy. A reader can change their browser settings, and a site can use a different base. For step n, calculate base × ratio to the power n."}]},{"t":"code","lang":"","label":"Text","text":"1.2   (minor third)   16 → 19 → 23 → 28 → 33 → 40\n1.25  (major third)   16 → 20 → 25 → 31 → 39 → 49\n1.333 (perfect fourth) 16 → 21 → 28 → 38 → 51 → 67\n1.5   (perfect fifth)  16 → 24 → 36 → 54 → 81 → 122"},{"t":"p","runs":[{"text":"Round to whole numbers for this exercise. The perfect fourth is approximately 1.333. The musical names are convenient labels. Each ratio gives predictable numeric steps, while visible hierarchy depends on the font, spacing, weight, colour and where the sizes are used."}]},{"t":"p","runs":[{"text":"For a step below the 16px base at ratio 1.25, divide by 1.25 to get 12.8px, or 13px rounded. Compare a 13px and 14px caption with nearby body text on the real device. Keep the value that reads clearly and carries the intended role."}]},{"t":"h2","id":"the-scale-has-to-change-size-with-the-screen","runs":[{"text":"The scale has to change size with the screen"}]},{"t":"p","runs":[{"text":"A ratio that suits a wide screen can produce a large heading on a narrow phone. At a 390px viewport, a 51px size describes the scale of the font, while the width of each glyph depends on its shape and font. Try a smaller step, compare actual wraps and leave room for a user’s larger text setting."}]},{"t":"p","runs":[{"text":"CSS does this in one declaration per size:"}]},{"t":"code","lang":"css","label":"CSS","text":"h1 { font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); }"},{"t":"p","runs":[{"text":"With a 16px root font size, the two "},{"text":"rem","code":true},{"text":" limits are 28px and 48px. Between them, the preferred value combines a root-relative term and a viewport term. The relative term can help the text respond to the reader’s settings. Check that text can resize to 200% without loss and test reflow and long headings at narrow widths. "},{"text":"W3C Resize Text","href":"https://www.w3.org/WAI/WCAG22/Understanding/resize-text.html"},{"text":"."}]},{"t":"h2","id":"why-fewer-sizes-is-better","runs":[{"text":"Why fewer sizes is better"}]},{"t":"p","runs":[{"text":"Three reasons, in order of how much they matter:"}]},{"t":"ol","start":1,"items":[[{"text":"Give each size a role.","b":true},{"text":" Keep a heading at a consistent level so readers can recognise a new section."}],[{"text":"Compare nearby sizes in context.","b":true},{"text":" One or two pixels of difference may be hard to distinguish. Weight and space can make the hierarchy clearer."}],[{"text":"Make revisions predictable.","b":true},{"text":" Update a named value in one place, then check the pages that use it."}]]},{"t":"p","runs":[{"text":"The audit is the same as for spacing: list every distinct size on a page and count. More than six on a single screen is a finding."}]},{"t":"h2","id":"size-is-not-the-only-rank","runs":[{"text":"Size is not the only rank"}]},{"t":"p","runs":[{"text":"The commonest misuse of a type scale is trying to express every level of hierarchy through size alone, which ends with six heading sizes and a page that looks like a ransom note."}]},{"t":"p","runs":[{"text":"Weight, colour and space are all available. A subheading can be the same size as the body text, set in semibold, with 32px above it and 8px below. That is three channels doing the work of one size step, and it reads more clearly than a 17px heading ever will."}]},{"t":"p","runs":[{"text":"In long-form text this is the normal solution: two or three sizes for the whole document, with weight and space carrying the structure beneath the top level."}]},{"t":"h2","id":"the-limitation","runs":[{"text":"The limitation"}],"role":"limit"},{"t":"p","runs":[{"text":"A modular scale is a convenience, not a law. Real typographic settings break it constantly: a price that has to be exactly as wide as a card, a logotype that was drawn at a fixed size, a legal notice a regulator specifies in points."}]},{"t":"p","runs":[{"text":"The workable position is that the scale is the default and departures are deliberate and documented, which is the same rule as for spacing. What you are avoiding is not the existence of an off-scale value; it is a page with nine of them and no memory of why."}]}],"check":{"question":[{"text":"A 5vw heading looks good at several widths. What should the designer verify before shipping?"}],"options":[{"text":[{"text":"That it matches the name of a conventional ratio in the type scale."}],"correct":false,"tempting":[{"text":"A scale name does not test resizing or wrapping."}]},{"text":[{"text":"That the default body size and heading size share the same number of pixels."}],"correct":false,"tempting":[{"text":"Heading and body sizes can differ and still work together."}]},{"text":[{"text":"That readers can enlarge the text and that it still wraps without lost content."}],"correct":true,"tempting":null},{"text":[{"text":"That the heading always occupies the same number of lines at each width."}],"correct":false,"tempting":[{"text":"Different line counts can be appropriate when content reflows."}]}],"order":[3,1,0,2],"why":null},"prev":{"slug":"anatomy-that-matters","title":"The four measurements that decide how a typeface behaves","minutes":9},"next":{"slug":"choosing-a-typeface-by-job","title":"Choosing a typeface, and what the licence actually says","minutes":9}}}