Skip to content
My Blog

Search WPDesignVault

Try "image", "json", "schema" or "contrast". Use arrow keys to move through results.

Design Tools

Type Scale Generator

Build a harmonious typographic scale from a base size and ratio, preview it, and export CSS variables. Switch on fluid mode to get clamp() values for every step.

Runs in your browser. Nothing you enter is uploaded. Last updated

How to use

  1. Set the base font size and pick a ratio.
  2. Choose how many steps you need above and below the base.
  3. Turn on fluid mode to scale between a mobile and a desktop scale, then copy the CSS.

What this tool does

Each step multiplies the previous size by the ratio (size = base × ratio^step). In fluid mode, each step gets a clamp() value that moves from the small-screen scale to the large-screen scale between the two viewport widths.

Why it matters

A consistent scale removes guesswork from heading and text sizes and keeps a design coherent across pages, themes and Elementor global fonts.

Frequently asked questions

Which ratio should I use?

Smaller ratios (1.125–1.2) suit dense interfaces and long reading; larger ratios (1.25–1.333) give stronger contrast between headings and body text.

PX to REM Converter

Convert pixels to rem instantly with any base font size, see a reference table, or convert every px…