What Is Typography Scale Generator?
Typography Scale Generator is a free online tool by TechnSols that builds a type scale from a base size and a ratio, with sizes and line heights for every step. Enter a base size such as 16 pixels and a ratio such as 1.25, and the tool lists the sizes for headings, subheadings, and body text, so a whole page shares one clear rhythm.
Type scales stop headings from being picked by guesswork. Without a scale, a page ends up with sizes like 23, 27, and 31 pixels that feel random, and the jump from one heading to the next is never quite right. A scale ties every size to the one below it by the same ratio, so the page feels ordered. This generator works out the maths with the same Modular Scale idea that designers have used for centuries.
The tool is made for web designers, developers, bloggers, and anyone setting type for a site, a slide deck, or a document. You can pick a gentle ratio for a quiet page or a bold ratio for a striking one, and export the result as CSS. If a font file you plan to use needs its details checked first, the Font Metadata Extractor reads its name, style, and licence details.
How To Use Typography Scale Generator?
Here is how to build a type scale in three quick steps. Using Typography Scale Generator is simple. There is no software to install and no account to make. Enter the base size, pick a ratio, and download the CSS. If the scale must also pass a readability check, the Color Contrast Checker tests the text colour against its background.
Step 1: Enter A Base Size
Type the base font size, usually 16 pixels for body text on the web, or 18 pixels for a page that should read larger. The base size is the step the whole scale is built from, so every other size is a multiple of it. The tool accepts base sizes from 8 to 32 pixels.
Step 2: Pick A Ratio
Pick a ratio from the list of seven named ratios. Minor Second 1.125 is gentle, Minor Third 1.2 suits dense interfaces, Major Third 1.25 is the common web choice, Perfect Fourth 1.333 is classic print, Augmented Fourth 1.414 is strong, Perfect Fifth 1.5 is bold, and Golden Ratio 1.618 is the most dramatic. The table shows the full scale, so you can see the jump between steps before you commit.
Step 3: Copy The Scale As CSS
Download the scale as a TXT file with CSS variables and a ready list of classes, each size in pixels and rem with its line height. Paste it into your style sheet, and use the steps for headings from largest to smallest, with the base step for body text. Map the steps to roles as you use them: the largest steps are display and page headings, the middle steps are section headings, the base step is body text, and the steps below are labels and captions. The scale stays consistent across the whole site.
The whole build takes less than a minute, because there is nothing to configure and no account to create. With the default five steps above and two below, the scale gives eight sizes, each one tied to the base by the same ratio. If the scale should be shown as a finished design, the Screenshot Annotator adds arrows and labels to a screenshot of it.
Why Use A Typography Scale?
Using a typography scale matters because size is hierarchy, and hierarchy is how readers find their way. A reader scans a page by heading size first, then reads the body. When the sizes follow a scale, the scan feels natural, and the reader knows at a glance what matters most.
Scales also stop arguments about sizes. Instead of debating whether a heading should be 28 or 30 pixels, the team picks a ratio and lets the scale decide. The Font Sizes guide explains how font sizes work in CSS and how relative units keep type flexible across screens.
Keep Headings In Clear Order
Clear order means each heading level is plainly larger than the one below it, with no two levels looking the same. A scale guarantees that, because each step is the last one times the ratio. The reader never wonders whether a line is a heading or a bold paragraph. When a colour blind reader must follow the same order, the Color Blindness Simulator shows the page colours as they would see them.
Make Pages Feel Balanced
Pages that feel balanced come from rhythm, and a scale gives type a rhythm the eye can feel. The same ratio that sets the sizes can set the line heights and the spacing, so the whole page moves in step.
Save Time On Every New Page
A scale is decided once and reused everywhere. A new page needs no fresh size debate, because the steps are already set.
What Can You Do With Typography Scale Generator?
A type scale generator fits any job where text sizes must be planned, not guessed. These are the jobs this tool handles best.
Build A Scale For A New Website
Build the scale for a new website before the first page is designed. Pick the base size for body text, pick a ratio that fits the brand, and download the CSS. Every heading on the site then comes from the same scale, and the site feels like one design from day one. If the site palette needs building to match, the Color Palette Generator builds a balanced set to go with it.
Fix A Page With Random Sizes
Fix a page where headings were sized by feel and now look uneven. Work out a scale from the current body size, then move each heading to the nearest step.
Plan Type For Slides And Print
Plan type for slides and print, where the base size is larger and the ratio can be bolder. A slide deck needs big jumps so the back row can read the headings, while a printed report needs gentle steps. When a colour from the plan needs its exact value, the Image Color Picker reads it from a picture.
Quality And Settings
The generator builds scales from any base size from 8 to 32 pixels, with seven preset ratios from 1.125 to 1.618, and it shows five steps above the base and two below it by default, adjustable to three to six above and one to three below. Each step lists its size in pixels and rem, with a matching line height, in a table. The scale downloads as a TXT file with CSS variables and a class list. There is no limit on how many scales you can build.
- Base sizes from 8 to 32 pixels.
- Seven named preset ratios from 1.125 to 1.618.
- Five steps up and two steps down by default.
- Size in pixels and rem, with matching line height.
- Download as a TXT file with CSS variables and classes.
There are no other settings to learn, because the base size and the ratio are the whole tool. Enter the base, pick a ratio, and download the CSS. If a step colour needs a matching partner, the Complementary Color Generator finds one for any colour.
How Typography Scale Generator Works
Every size is worked out entirely in your browser. Each step up is the step below it times the ratio, and each step down is the step above it divided by the ratio, so the whole scale is a geometric series from the base size. Line heights are set as a multiple of each size: 1.5 at and below the base, then 0.05 tighter for each step above, down to a floor of 1.15, so large headings stay tight and body text stays loose. Rem values are worked out from a 16 pixel root, and sizes are rounded to two decimals in the export. Do not round them further to whole pixels in the style sheet, since rounding each step and then building the next from the rounded figure drifts the ratio. Use rem, not px: px ignores a reader who set a larger browser default, while rem scales the whole scale, and em compounds when elements nest. Nothing is sent anywhere, and no copy is kept. If a step size needs a lighter or darker shade for its colour, the Color Shades Generator builds a full shade range from it.
Two honest limits are worth knowing. First, a scale is a guide, not a rule, and a real design may need one step adjusted for a long heading or a short label, so the exported sizes are a starting point to judge on the page. Second, the line heights are sensible defaults, not a measure of your font, so a font with tall letters may need a looser line height than the scale suggests. You do not have to use every step: the scale is a menu of permitted sizes, and an unused step costs nothing in the :root block.
When the base and ratio are set, the scale is exact for those numbers: the same inputs always give the same sizes, and the downloaded CSS names the same steps. Changing the ratio rebuilds the whole scale at once, with no need to enter the base again. The table uses the same sizes as the export, so what you see matches what you paste.
Privacy
Everything you build stays in your browser. The Typography Scale Generator runs on your own computer, and nothing you do is uploaded to a server, stored, or shared with anyone. The tool does its job and shows the answer, and that is all it does.
Because no account is needed, there is no name, email, or history tied to what you do. Closing the tab ends the session, and the browser clears the scale from memory. That is the same protection on every tool here: your work stays yours, and nothing about it is kept, shared, or sold.
Tips
A few habits make Typography Scale Generator work smoother, whether this is your first scale or your five hundredth.
- Start with 16 pixels as the base for web body text.
- Try 1.25 first, then go gentler or bolder.
- Use the same scale on every page of a site.
- If the largest heading overflows on a phone, drop to a gentler ratio or set that step smaller in a media query.
- Download the CSS before you close the tab.
When the headings fall into clear order and the body reads easily at the base size, the scale is ready to use. If a smooth background is needed behind the scaled text, the Gradient Generator builds one from colours you choose.
More Tools For The Same Job
These tools handle the same kinds of jobs: fonts, text, and checking designs before they are shared.
- Font Metadata Extractor: reads the name, style, and details of a font file.
- Color Contrast Checker: checks the contrast ratio of a colour pair for normal vision.
- Screenshot Annotator: adds arrows, boxes, and labels to a screenshot.
- Color Blindness Simulator: shows a whole image as a colour blind viewer would see it.
- Image Color Picker: reads the exact colour value of any pixel in a picture.
- Color Palette Generator: builds a balanced colour palette for a design.
- Complementary Color Generator: finds the matching opposite colour for any colour.
- Color Shades Generator: builds lighter and darker shades from one colour.
- Gradient Generator: creates a smooth gradient from colours you choose.
- Hex To RGB Converter: changes a HEX colour value into RGB values.
FAQ
Common questions about building a typography scale, answered plainly.
Is Typography Scale Generator By TechnSols Free?
Yes, Typography Scale Generator by TechnSols is completely free to use, with no account, no sign-up, and no usage limit. You can build as many scales as you like, and everything runs in your browser, so nothing is uploaded or stored anywhere.
What Base Size Should I Start With?
Start with 16 pixels, which is the default body text size on the web and reads well on most screens. Use 18 pixels if your audience reads on small phones or if your font has small letter shapes. The scale builds up and down from whichever base you pick.
Which Ratio Should I Choose?
Choose 1.25 for a common web scale, 1.125 for a quiet and gentle page, 1.2 for a dense interface, 1.333 for a classic print feel, and 1.5 or 1.618 for a bold and dramatic page. Try two ratios on the table and pick the one whose heading jumps feel right for your design.
What Do The Line Heights Mean?
Each step lists a line height, which is the space between lines of text at that size. It is 1.5 at and below the base, then 0.05 tighter for each step above, down to 1.15. Large headings get tighter line heights, while body text gets looser ones for easy reading.
Can I Export The Scale As CSS?
Yes, you can download the scale as a TXT file with CSS variables and a ready list of classes, with each size in pixels and rem plus its line height. Paste the export into your style sheet, and use the steps for headings and body text across the site.
Pick a base, pick a ratio, and let the scale set the sizes. A page where every heading falls into clear order is a page that reads itself, and that is the whole point of building it this way.