Rise Layouts logo Rise LayoutsDesign and layout, explained clearly
Typography

Type Scale for Beginners and How to Pick Heading Sizes

You set the body text to 16 px, then pick heading sizes by eye: 22 looks fine, maybe 30 for the page title, and 18 for subheadings. A week later the design has 11 different font sizes and nothing feels related.

Printed sheet of paper on a designer's desk showing the same word set in six increasing font sizes next to a ruler and pencil

You set the body text to 16 px, then pick heading sizes by eye: 22 looks fine, maybe 30 for the page title, and 18 for subheadings. A week later the design has 11 different font sizes and nothing feels related. A type scale fixes this by giving you a short, fixed set of sizes that grow by the same ratio, so every heading has a clear place in the hierarchy and you stop guessing.

This guide explains how a type scale works, which ratio to choose for different projects, and how to round the numbers into sizes you can actually use.

What a type scale is and why it works

A type scale starts with one base size, usually your body text, and multiplies it by a ratio to get each larger step. Divide by the same ratio to get smaller steps for captions and labels. With a 16 px base and a ratio of 1.25, the steps are 16, 20, 25, 31, 39 and 49 px.

The reason this feels better than picking sizes by eye is consistency. Each step is the same proportion larger than the one below it, so the jump from body text to a small heading feels similar to the jump from a section heading to a page title. Readers do not notice the math. They notice that the page seems organized. If you are still settling on the body size itself, start with what font size body text should be on a website, because every other number depends on it.

Choosing a type scale ratio

Most scales borrow their names from musical intervals, which is a historical habit rather than a rule. What matters is how big the jumps are.

RatioNameSteps from 16 pxGood for
1.125Major second16, 18, 20, 23, 26Dense apps, dashboards, mobile
1.2Minor third16, 19, 23, 28, 33Product interfaces, documentation
1.25Major third16, 20, 25, 31, 39Blogs, marketing pages
1.333Perfect fourth16, 21, 28, 38, 51Editorial layouts, landing pages
1.5Perfect fifth16, 24, 36, 54, 81Posters, very large display headings

A small ratio such as 1.125 gives gentle steps that fit many heading levels into limited space, which suits software screens where a 50 px heading would crowd out content. A large ratio such as 1.5 creates drama but runs out of room quickly; by the fourth step you are at 54 px, too big for most section headings.

For a first project, 1.25 is a safe default. It gives clear contrast between levels without making h1 enormous.

Using different ratios on mobile and desktop

A scale that looks right on a 1440 px wide screen often looks shouty on a phone. A common fix is to use a smaller ratio on narrow screens, for example 1.2 below 640 px and 1.25 or 1.333 above it. The base stays at 16 px, so body text does not change, but headings shrink. A 49 px page title on desktop becomes about 33 px on mobile, which fits on two lines instead of four.

Turning the numbers into a usable type scale

Raw multiplication gives awkward decimals like 31.25 and 39.06. Follow these steps to clean them up:

  1. Pick your base. Use your body size, typically 16 to 18 px.
  2. Generate five or six steps up and one or two down. You rarely need more than six heading sizes.
  3. Round to whole pixels. 31.25 becomes 31 or 32. Rounding to an even number often aligns better with a 4 px or 8 px spacing grid.
  4. Assign each step a role. For example: 13 px captions, 16 px body, 20 px h4, 25 px h3, 31 px h2, 39 px h1.
  5. Set line height per size. Body text needs around 1.5, but large headings look loose at that value. Drop to about 1.2 for h2 and 1.1 for h1.
  6. Test with real content. Put an actual article on the page, not lorem ipsum, and check that long headings still wrap neatly.

Spacing around the sizes matters as much as the sizes themselves. The rules in how to set line height and letter spacing for readable body text carry straight over to headings, with tighter values as the type gets bigger.

When strict ratios get in the way

Many tutorials treat the ratio as law: pick one, and never use a size outside it. In real projects that strictness causes problems. Some typefaces have a large x-height and look bigger than their pixel size, so a heading at the exact scale step can feel heavier than planned. Some interfaces need a 14 px label that falls between steps. Forcing it to 13 or 16 px just to stay on the scale makes the design worse.

Treat the scale as a starting structure, not a cage. It is fine to nudge one or two sizes by a pixel or two after looking at them on screen. What you want to avoid is drifting back to a dozen unrelated sizes. A useful check: if you can list every font size in your design on one line and each has a clear job, the system is healthy, even if one value is slightly off ratio.

Also remember that size is only one tool for hierarchy. Weight, color and spacing can separate levels too. A 20 px bold heading and 16 px regular body text may already be enough contrast for an h4, which means you do not need a sixth size at all. The ideas in typography basics that improve any design show how these levers work together.

Applying the scale in Figma and CSS

In Figma, create a text style for each step, named by role rather than size, such as Heading 1, Heading 2 and Body. When you later change the ratio, you edit six styles instead of hunting through every frame.

In CSS, store each size as a custom property, for example a variable for each step from small to the largest heading, and reference those variables everywhere. Many designers also use the clamp function so headings scale smoothly between a mobile and desktop value instead of jumping at one breakpoint. A page title might sit at 33 px on a small phone and grow to 49 px on a wide monitor.

Whichever tool you use, write the scale down in one place. A short table in your design file with size, line height and role prevents the slow creep of one-off sizes that started the problem.

Frequently asked questions

What is a good type scale ratio for a website?

A ratio of 1.2 or 1.25 suits most websites, giving clear heading levels without oversized titles. Content-heavy blogs often look good at 1.25. Apps and dashboards with many small elements usually work better at 1.125 or 1.2.

How many font sizes should a design use?

Most designs need between five and seven sizes in total, including body, captions and headings. More than eight usually means some sizes have no clear purpose. If two sizes are only 1 or 2 px apart, merge them.

Should the type scale change on mobile?

Yes, using a smaller ratio on narrow screens is a common and effective approach. Body text stays the same while headings shrink, so titles fit on fewer lines. Many designers switch from 1.25 on desktop to 1.2 on mobile.

ST
Suki Tanaka

Suki covers type and color, translating design theory into practical choices anyone can apply.

More posts by Suki

More in Typography

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto