Modularscale is a web-based calculator that generates modular scales—sets of proportionally related numbers used in web design and typography. You provide a base number (typically your body text size) and select a ratio, and the tool multiplies them to create a harmonious scale of values for sizing type, grids, spacing, and layout elements.
Designers use modular scales to ensure visual harmony across a composition by applying consistent mathematical relationships rather than arbitrary sizing. The tool supports multiple bases and ratios to create multi-stranded scales when needed, offering more flexibility in finding values that work for any project.
You enter a base number (such as your body text size) and select a ratio from options like golden section, perfect fifth, or major sixth. The calculator multiplies the base by the ratio to generate a scale of proportionally related values. You can copy configuration code from the Sass or JS tab to integrate the scale directly into your project, then call the function ms(0) and change the number to retrieve different values from your scale on the fly.
Modularscale is ideal for designers and developers who want mathematical rigor and visual harmony in typography and layout without relying on guesswork. The tool works best for teams ready to adopt consistent ratios across projects, though it requires some conceptual understanding of modular scales and intentional base selection to use meaningfully.
Enter a base number and select from 13 musical and harmonic ratios to generate a complete modular scale.
Choose from named ratios including minor second, golden section, perfect fifth, and double octave.
Combine multiple bases or ratios to create scales with more flexible sizing options across a project.
Export scale configuration as Sass code to install in your project and reference values with the ms() function.
Export scale configuration as JavaScript code to integrate the calculator directly into your web project.
Reference and visualize scales directly on the website without needing to install or configure anything.
Type a desired size value using notation like '36@5' to find where that size appears on your generated scale.
Pricing extracted from the product website and may change. Check the source for current details.
Use scale values as a ruler to set type sizes, grid dimensions, spacing, and element sizes. Many designers start with heading type sizes, but you can apply the scale to any compositional element. For dynamic updates, install the Sass or JS plugin in your project and call the ms() function with different numbers to retrieve scale values.
Body text type size is a practical starting point. For more precision, examine font metrics like x-height. Fixed-width images, ads, or layout constraints can also serve as meaningful bases if they are important to your design.
Yes. A single base with one ratio creates a modular scale. Adding a second base or ratio creates a multi-stranded scale with more numbers, offering greater flexibility. However, avoid too many strands, as they dilute the harmonic relationship. Multiple bases and ratios together risk creating unrelated numbers in the output.
The plugins allow you to integrate the scale calculator directly into your project and change scales dynamically without manually remembering values. The web calculator alone is sufficient for reference and visual creation, but plugins save effort and enable live adjustments during development.
Yes — Modularscale is free to use. See the pricing section for any optional add-ons.
M ModularscaleThis | ||||
|---|---|---|---|---|
| Starting price | Free | Free | Free | — |
| Pricing model | Free | Free | Free | unknown |
| Platforms | — | Web | Web | — |
| Top features |
|
|
| — |
| Rating | — | — | — | — |
Browse and download 500+ handcurated color palettes for design projects and creative applications
Generate proportional type and spacing scales using harmonic ratios—get Sass and JavaScript plugins ...
Design fluid responsive layouts that scale proportionally across all screen sizes without rigid brea...
A letter spacing game that teaches type kerning through interactive practice and visual feedback
Generate Material Design color palettes, download instantly, and apply to your projects