DM Sans: the optical-size sans that fixes its own display problem
DM Sans is a low-contrast geometric sans-serif designed by Colophon Foundry, added to Google Fonts in June 2019. It has ten weights from Thin 100 to Black 1000 with italics, and a variable version with optical size and weight axes.
| Designer | Colophon Foundry |
|---|---|
| Category | Sans Serif |
| Weights | 10 weights (100 to 1000) |
| Italics | Yes, true italics |
| Variable font | Variable, axes: opsz 9-40, wght 100-1000 |
| On Google Fonts since | 2019-06-11 |
| License | Open source (see the license file on Google Fonts) |
| Name | Best for | Free or paid | Note |
|---|---|---|---|
| Figtree | Friendly product UI | Free (open source) | Similar warmth without the optical axis. |
| Inter | Dense neutral UI | Free (open source) | The safe default for product text. |
| Manrope | Semi-geometric UI | Free (open source) | More distinctive, no italic. |
The optical size axis is the reason to use it
DM Sans is one of the few free families that changes shape with size rather than just scaling. At small optical sizes the letterforms get wider spacing and sturdier strokes so they hold up in captions and labels. At large sizes they tighten and the contrast increases, which is what a headline wants.
If you are loading the variable file anyway, set the opsz axis to match the actual size instead of leaving it at the default. Most sites do not, and then wonder why the headline looks soft.
A geometric that behaves in text
Because it was drawn with optical sizes in mind, DM Sans is more comfortable in paragraphs than most geometric faces. The lowercase forms are compact, the spacing is even, and the italics are genuine rather than slanted.
It is not as neutral as Inter and not as characterful as Space Grotesk, which makes it a good middle choice for a brand that wants a little warmth without losing clarity.
Where to get it
Some links are affiliate links; NewForm may earn a commission at no cost to you.
- Google Fonts
Free download plus the embed code.
Copy the CSS
/* DM Sans */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,9..40;wght,100..1000&display=swap');
body {
font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}
Frequently asked questions
Is DM Sans free for commercial use?
Yes. DM Sans is open source and available on Google Fonts, so commercial use and self-hosting are allowed.
What is the optical size axis in DM Sans?
It adjusts the letterforms for the size they are rendered at: sturdier and wider at small sizes, tighter and more contrasty at large ones. Set it in CSS with font-optical-sizing.
Does DM Sans have italics?
Yes. DM Sans includes true italics rather than a synthesised oblique.
Read next on the blog

Best Fonts for Dashboards: 7 UI Typefaces That Survive Real Data
Seven dashboard typefaces rendered with their official files, compared on tabular figures, x-height and weight range, with CSS and settings that work.
9 min read · Nov 15, 2026

How to Choose UI Fonts by Mood: A Practical Pairing Method
Turn mood words like elegant, bold, and editorial into a practical type pairing, then test it on real interface content.
4 min read · Oct 21, 2026

Font Sizes in px: H1, H2, H3 and Body Text (2026 Guide)
Typography sizes for websites with exact px values: body text, headings H1 to H6, captions and buttons on mobile vs desktop, line heights, and a copy-paste clamp() CSS type scale.
10 min read · Oct 11, 2026
Build it with Base44
Describe the interface you want and Base44 builds the working app: real components, real data, ready to publish.
Start building with Base44