Most font shortlists are decided on the letters. Then the design meets a pricing table, a dashboard KPI, an invoice total or an order reference, and the digits start causing problems: columns that wobble when a value updates, a zero that reads as a capital O, numbers that sit too small inside a line of body text.
This guide looks at Google Fonts purely through their numerals. For each pick you get the digit style, the use case it suits, a pairing that works, and the CSS to switch the right numeric features on. We also answer the questions people ask alongside this one: how many families the catalogue holds, whether Google publishes a dyslexia font, and which typeface Google Messages uses.
Quick answer: which Google Fonts have the best numbers?
For interfaces and data, Inter, IBM Plex Sans and Roboto give the most reliable digits, because they offer tabular figures and, in Inter’s case, a slashed zero that cannot be confused with a letter. For code, IDs and long numeric columns, use a monospaced family such as JetBrains Mono, IBM Plex Mono or Roboto Mono, where every digit occupies the same width by design. For long-form editorial text, EB Garamond and Source Sans 3 give you oldstyle figures that sit inside a paragraph without shouting.
How numerals actually work inside a font file
A typeface does not contain one set of digits. It can contain several, and an OpenType feature tag decides which one the browser draws. Once you know the four variables below, every choice in this article becomes obvious.
Lining figures vs oldstyle figures
Lining numerals all share the same height, usually cap height, and sit on the baseline. They are the default in almost every sans-serif font and the right choice for prices, headlines and user interfaces. Oldstyle figures, also called text figures, have ascenders and descenders like lowercase letters, so the 3, 4, 5, 7 and 9 drop below the baseline. They blend into running text beautifully and look wrong in a table.
Proportional vs tabular spacing
Proportional figures give each digit its natural width, so a 1 is narrower than a 0. That looks better in a sentence. Tabular figures force every digit onto an identical advance width, which means decimal points and thousands separators line up vertically down a column. Any table, scoreboard, timer or dashboard needs tabular figures, otherwise the numbers shift sideways each time a value refreshes.
The zero problem
A slashed zero (or a dotted zero) exists so that 0 cannot be read as the letter O. It matters for order references, serial numbers, coupon codes, API keys and anything a user has to retype. Not every font ships one, so check the glyph list before you promise it to a client.
The feature tags you will actually use
| Tag | What it does | Typical use |
lnum |
Lining figures | UI, prices, headings |
onum |
Oldstyle figures | Body copy, editorial |
tnum |
Tabular (equal width) figures | Tables, dashboards, timers |
pnum |
Proportional figures | Running text |
zero |
Slashed or dotted zero | Codes, references, logs |
frac |
Proper fractions | Recipes, measurements |
ordn |
Ordinals (1st, 2e) | Dates, rankings |
A tag only works if the font file contains that alternate set. Asking for onum in a font without oldstyle figures changes nothing, silently.

12 Google Fonts picked for their digits
1. Inter: the safest default for product UI
Inter was drawn for screens, and its numerals show it: open counters, a clear distinction between 1, 7 and the lowercase l, and a slashed zero available through the zero feature. The digits are built on a consistent width, so numbers stay calm when a figure updates in place.
- Digit style: lining, tabular and proportional sets, optional slashed zero.
- Best for: SaaS dashboards, admin panels, forms, analytics screens.
- Pairing: Inter for the interface, Source Serif 4 for editorial headings.
2. Roboto: the Android baseline, now variable
Roboto is the Android system default and still the most predictable sans-serif in the catalogue. Its digits are lining, slightly condensed in feel, and legible down to small sizes. Roboto Flex, the variable version, adds width and optical size axes if you need headline digits and caption digits to behave differently.
- Digit style: lining, tabular figures available, no slashed zero by default.
- Best for: Android apps, cross-platform products, general UI.
- Pairing: Roboto with Roboto Slab for headings, Roboto Mono for values.
3. IBM Plex Sans: made for data products
Plex was commissioned for a company that ships a lot of charts, and the numerals reflect that brief. They are sturdy, evenly weighted, and they keep their shape at chart-label sizes where lighter geometric fonts fall apart. The family also gives you a matching serif and mono, which keeps a data-heavy product visually unified.
- Digit style: lining, tabular figures available.
- Best for: data visualisations, infographics, technical documentation.
- Pairing: IBM Plex Sans for labels, IBM Plex Mono for the figures themselves.
4. JetBrains Mono: digits you never misread
A monospaced font designed for reading code on screen for hours. Every character shares one width, so alignment is automatic without any CSS. The zero is clearly marked to separate it from O, and the 1 carries a full base serif so it cannot collapse into an I.
- Digit style: monospaced by construction, so inherently tabular.
- Best for: code blocks, logs, order references, API keys, invoice numbers.
- Pairing: JetBrains Mono inside a UI set in Inter.
5. Roboto Mono: compact monospace for dense tables
When a monospaced column has to fit inside a narrow panel, Roboto Mono wastes less horizontal space than most alternatives while staying highly legible. It also shares its skeleton with Roboto, so a product already using Roboto gets a seamless numeric companion.
- Digit style: monospaced, lining.
- Best for: financial tables, timestamps, IDs in admin interfaces.
- Pairing: Roboto Mono for values, Roboto Condensed for column headers.
6. Source Sans 3: the invoice and form workhorse
Source Sans is one of the few open-source sans-serifs with a genuinely complete figure set, including oldstyle figures alongside the lining ones. That makes it unusually flexible: lining tabular digits in the totals block, oldstyle proportional digits in the paragraph above it, one font family for both.
- Digit style: lining and oldstyle, tabular and proportional.
- Best for: invoices, quotes, reports, long administrative forms.
- Pairing: Source Sans 3 with Source Serif 4.
7. EB Garamond: oldstyle figures for long reading
A Garamond revival with real text figures, which is exactly what you want when dates, page references and quantities appear inside flowing prose. The digits rise and fall like lowercase letters, so nothing interrupts the line. Set the figure style explicitly in CSS, because the default varies between versions and you should never leave that to chance.
- Digit style: oldstyle and lining sets available.
- Best for: magazines, essays, books, editorial sites.
- Pairing: EB Garamond for body text, Inter or Jost for navigation.
8. Lato: friendly digits for retail prices
Lato, by Łukasz Dziedzic, has humanist proportions and semi-rounded details that stay warm without becoming informal. Its numerals read clearly at price-tag sizes and keep a consistent colour next to currency symbols, which matters when a price sits on a product card.
- Digit style: lining, tabular figures available.
- Best for: e-commerce prices, product cards, pricing pages.
- Pairing: Lato with Playfair Display for a more premium feel.
9. Montserrat: geometric numbers for marketing
Montserrat’s digits are built from near-circular geometric forms, which gives big percentage figures and statistics real presence on a landing page. The same roundness is a liability in small print, because 0 and O get close, so keep it for display numbers above roughly 24 px and switch to something else for the data table underneath.
- Digit style: lining, wide and geometric.
- Best for: headline statistics, hero sections, social graphics.
- Pairing: Montserrat headings with Lora body text.
10. Oswald: condensed digits for posters and scoreboards
Oswald is a condensed grotesque, so it fits long numbers into narrow space: event dates, countdowns, sports scores, large display prices. The vertical stress makes stacked figures look deliberate rather than squeezed. It is a display font, so avoid it for paragraphs.
- Digit style: lining, condensed, near-uniform width.
- Best for: posters, event banners, scoreboards, large display numerals.
- Pairing: Oswald with Open Sans or Lato for supporting text.
11. Atkinson Hyperlegible: accessibility-first numerals
Published by the Braille Institute and available through Google Fonts, this family was drawn so that characters with similar shapes stay distinct for readers with low vision. The 0, the 1 and the 6/8/9 group are deliberately differentiated. If digits must be read correctly on a first attempt, this is the most defensible pick in the catalogue.
- Digit style: lining, exaggerated differentiation between similar glyphs.
- Best for: signage, public services, healthcare, booking references, senior audiences.
- Pairing: Atkinson Hyperlegible for data, Lexend for body copy.
12. Space Grotesk: distinctive digits for fintech and tech brands
Space Grotesk takes the quirky skeleton of Space Mono and makes it proportional. The digits have unusual terminals and a slightly technical personality, so a product can look branded without losing clarity. It gives numeric-heavy interfaces some character where Inter stays neutral.
- Digit style: lining, tabular set available, strong personality.
- Best for: fintech interfaces, crypto dashboards, tech brand sites.
- Pairing: Space Grotesk for figures, IBM Plex Sans for dense body text.
Pick by situation, not by taste
| Your situation | Do this | Avoid |
| SaaS dashboard with live values | Inter or IBM Plex Sans with tabular-nums |
Geometric display fonts, proportional figures |
| E-commerce prices and promotions | Lato or Montserrat for the price, lining figures | Oldstyle figures, condensed faces under 16 px |
| Invoices and PDF reports | Source Sans 3, tabular lining figures in totals | Script or decorative fonts anywhere near amounts |
| Codes users must retype | JetBrains Mono or IBM Plex Mono, slashed zero on | Any font without a differentiated zero |
| Editorial article with lots of dates | EB Garamond with oldstyle-nums |
Lining figures in body text, they look oversized |
| Poster, countdown, event date | Oswald or Bebas-style condensed display | Monospaced fonts, they waste space at large sizes |
| Public service or health audience | Atkinson Hyperlegible, generous size and spacing | Light weights, tight tracking, low contrast |

How to enable numeric features in CSS
Load the family first. The Google Fonts API v2 endpoint accepts weights and variable axes in one request:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" rel="stylesheet">
Then switch the numeric features on with font-variant-numeric, which is the high-level property and the one you should prefer:
.price,
.data-table td {
font-variant-numeric: lining-nums tabular-nums;
font-feature-settings: "lnum" 1, "tnum" 1; /* older browsers */
}
.order-reference {
font-variant-numeric: slashed-zero tabular-nums;
}
.article-body {
font-variant-numeric: oldstyle-nums proportional-nums;
}
One caveat worth remembering: font-feature-settings is all or nothing. If a child element declares a single tag, it resets every feature inherited from the parent, which is how carefully configured figures silently disappear. Using font-variant-numeric everywhere avoids that trap.
If you only display digits in a specific element, the API also accepts a text parameter to request a reduced character set, which produces a smaller file for things like a numeric logo or a countdown.
Enabling numeral features in Figma
- Select the text layer, then open the Type settings panel (the icon next to the text properties).
- Open the Details section, where Figma lists the OpenType features the font file actually contains.
- Toggle tabular figures, oldstyle figures or the alternate zero. Features that are greyed out are not in the font, which is a fast way to verify a family before you commit.
Using Google Fonts in WordPress
- With a block theme, go to Appearance > Editor > Styles > Typography, open the font manager, and install the family from the Google Fonts collection. WordPress downloads the files to your server, so visitors never request them from Google.
- Apply the family to body text, headings and buttons in the same panel.
- Add the numeric rules in Appearance > Editor > Styles > Additional CSS, or in your child theme stylesheet, targeting your table and price classes.
- With a classic theme, register the self-hosted files through
wp_enqueue_style()infunctions.phpand declare them with@font-faceplusfont-display: swap.
A short legal note, since it comes up on every European project: serving Google Fonts from Google’s servers transmits the visitor’s IP address to a third party. A German regional court ruled in 2022 that doing so without consent breached the GDPR in the case before it. Self-hosting the files removes the question entirely, and it is the approach we recommend by default. For the current terms, read Google’s own documentation rather than second-hand summaries.
Five numeral pitfalls that matter most
| Symptom | Cause | Fix |
| Columns jitter when a live value updates | Proportional figures active | Add font-variant-numeric: tabular-nums to the cells |
| Support receives wrong order references | Zero and capital O look alike | Switch on slashed-zero, or move references to a mono font |
| Numbers hop above and below the line in a paragraph | Oldstyle figures are the font’s default | Force lining-nums where alignment matters |
| A CSS numeric rule has no visible effect | The feature is missing from the file, or a child element reset font-feature-settings |
Inspect the font’s feature list, then standardise on font-variant-numeric |
| Layout shifts while the page loads | Web font swaps in with different metrics from the fallback | Preload the file, keep font-display: swap, tune the fallback with size-adjust |

Accessibility: digits, dyslexia and legibility
Numbers carry no redundancy. A reader can reconstruct a misread letter from the surrounding word, but there is nothing to reconstruct in 1 087 553. That is why digit legibility deserves more care than letter legibility, not less.
Does Google have a dyslexia font?
No. Google does not publish a typeface marketed as a dyslexia font, and OpenDyslexic, the best known one, is distributed by its own project rather than through the Google Fonts catalogue. What the catalogue does offer is two families built around reading ease: Lexend, designed to reduce visual stress in reading, and Atkinson Hyperlegible, designed by the Braille Institute for readers with low vision. Neither is a medical device, and evidence on specialised dyslexia typefaces remains debated, so treat them as one lever among several.
What helps more than the font choice
- Group long numbers (phone numbers, IBANs, references) into blocks of three or four characters.
- Keep contrast high and avoid light weights for figures under 16 px.
- Never rely on colour alone to signal a negative value, add a sign or a label.
- Let text resize: WCAG 2.1 success criterion 1.4.4 requires text to be resizable up to 200% without loss of content or functionality.
- Test with the browser zoom at 200% and with a system font-size increase, not only in the design file.
Numbers on mobile and at small sizes
Small screens punish three things: condensed widths, geometric roundness and light weights. A number that reads perfectly in a 1440 px mockup can become ambiguous in a 360 px viewport at 12 px. As a common starting point, keep tabular data at 14 px or above on mobile, use regular or medium weights rather than light, and increase letter-spacing very slightly on uppercase labels but never on the digits themselves, because tracking breaks the visual grouping of a number.
Variable fonts help here. Roboto Flex and Inter expose weight and, in some cases, optical size axes, which lets you keep one file while adapting digits to context:
.kpi-value { font-variation-settings: "wght" 600; }
@media (max-width: 480px) {
.kpi-value { font-variation-settings: "wght" 500; }
}

Three questions people ask about Google Fonts
How many fonts are on Google Fonts?
The catalogue holds well over 1,500 font families, and it keeps growing as new open-source families are added and existing ones are updated to variable versions. Because the figure changes month to month, the only reliable source is the counter displayed on the official Google Fonts site when you browse the catalogue. Family count is not the same as font count: a single family can contain dozens of styles.
What font does Google Messages use?
Google Messages uses Google’s own corporate typeface family, Google Sans (with Google Sans Text for interface copy), on top of Roboto, the Android system default that still handles much of the OS. Google has been rolling out an updated, variable version of Google Sans across its products. Neither Google Sans nor Product Sans is available on Google Fonts, because they are proprietary brand assets. If you want that look legally, Roboto or Inter are the closest open alternatives.
What is the three font rule?
It is a rule of thumb, not a standard: use no more than three typefaces in one design, typically one for headings, one for body text and one for accents or data. With numerals, the practical version is even simpler. One text family plus one monospaced family covers almost every product, because the mono handles figures, codes and tables while the main family handles everything else.
What to do first, and what can wait
- First: apply tabular figures everywhere numbers stack vertically. It is a one-line change with a visible effect on every table and dashboard.
- Then: fix the zero in anything users retype, including confirmation emails and PDFs.
- Then: self-host the font files and preload the weight used above the fold.
- Later: introduce oldstyle figures in editorial body text, a refinement rather than a fix.
- Later: consolidate font weights. Each extra weight is an extra file to download.

How to check it actually worked
Open the rendered page in DevTools, select a numeric cell and confirm that the computed value of font-variant-numeric is the one you set. Then change a live value and watch whether neighbouring columns move: if nothing shifts, tabular figures are active.
On the performance side, check Cumulative Layout Shift and Largest Contentful Paint in PageSpeed Insights, and the field data in the Core Web Vitals report in Search Console. In the Network panel, filter by font and look at the total transferred weight. A sensible review rhythm is once at launch, then after any typography change, then quarterly alongside your other Core Web Vitals checks. Qualitatively, support tickets about wrong references are the clearest signal that your zero needs a slash.
Reusable checklist
- List every place numbers appear: tables, prices, KPIs, forms, references, charts, PDFs.
- Confirm the chosen family contains the figure sets you need, in the font’s glyph or feature list.
- Set
lining-numsplustabular-numson tables, dashboards and totals. - Set
slashed-zeroon codes, IDs and anything retyped by hand. - Use
oldstyle-numsonly inside running editorial text. - Prefer
font-variant-numericoverfont-feature-settingsto avoid resets. - Self-host the files and limit the number of weights loaded.
- Add
font-display: swapand preload the primary weight. - Test digits at 12 px, at 360 px width, and at 200% browser zoom.
- Re-check computed styles and Core Web Vitals after the change ships.
Conclusion
Choosing a font for its numerals is less about taste than about context: tabular where values align, oldstyle where numbers live inside sentences, a marked zero wherever a human retypes a string. Take the single screen in your product that shows the most numbers, apply the two CSS lines above, and compare it side by side with the current version. That one change usually settles the debate faster than any specimen sheet.
Joxa Design publishes practical typography and web design notes on joxadesign.com. Browse the rest of the blog for more guides on building clear, fast interfaces.
FAQ
Can I use Google Fonts numerals in HTML emails?
Partially. Some email clients load web fonts, but many, including several Outlook versions, ignore them and fall back to a system font. Always declare a solid fallback stack such as Arial, Helvetica, sans-serif, and never rely on a slashed zero in an email: print the reference in a larger size with spaced character groups instead.
Do Google Fonts cover non-Latin numerals such as Arabic-Indic or Devanagari digits?
Many do, but not all, and coverage differs from family to family. The Noto families were created specifically to cover a very wide range of writing systems, so they are the safest starting point for multilingual products. Check the language and glyph coverage on the font’s page in the catalogue before you commit to a release.
How can I verify which numeric features a font really contains?
Open the font file in an OpenType feature inspector such as Wakamai Fondue, which lists every feature, stylistic set and variable axis present. Figma’s type details panel does the same job for fonts installed locally, since unavailable features appear disabled. This takes a minute and avoids writing CSS that quietly does nothing.
Does enabling tabular figures slow the page down?
No. The alternate digits are already inside the same font file you download, so switching features changes the rendering, not the payload. What does affect performance is loading extra weights, extra styles or extra families, which is why limiting your typographic palette matters far more than feature usage.
Can I use a Google Font for a logo or printed signage?
Most families in the catalogue are released under the SIL Open Font License, which permits commercial use in print, products and logos. You may not sell the font files themselves, and bundled fonts must keep their licence file. Check the licence stated on the individual font page, because terms can differ between families.
How do I change the font size of a Google Font once it is installed?
The font family and its size are separate properties, so you adjust size with CSS font-size, ideally in rem units so it respects the user’s browser setting. In WordPress block themes, the same control sits under Styles and Typography for global values, or in the block sidebar for a single element. Using clamp() lets display numerals scale fluidly between mobile and desktop without media queries.
