A maths font is not judged by its letters alone. To lay out a fraction, a root sign or a bracket that grows to fit a matrix, the layout engine needs measurements and spare glyph shapes stored inside the font. That store is the OpenType MATH table, and very few free families have one. So this hub starts with a test rather than a mood board: which Google Fonts families can actually set an equation, and which text faces sit comfortably beside them.
Searching the catalogue for the word math is misleading. In the Google Fonts metadata we downloaded, 78 families carry a math subset tag, Lora, Roboto and Open Sans among them. That tag only means the files include some mathematical symbols, such as operators and arrows. We opened the font files from the google/fonts repository with fontTools on 29 November 2026 and looked for the MATH table itself. It was missing from every math-tagged text family we sampled.
What the MATH table holds
The OpenType specification published by Microsoft, read 29 November 2026, describes the table as font-specific data for maths layout engines: global constants for things like fraction rules and radical gaps, information on glyph variants of different sizes, and recipes for building stretched delimiters from parts. It is careful to say that the table supplies data, not the layout algorithm itself, so two engines can set the same formula slightly differently.
The W3C MathML Core specification, a Candidate Recommendation Snapshot dated 24 June 2025 and read 29 November 2026, shows what a browser does with that data. Its user agent stylesheet gives the math element font-family: math. Script sizes come from the font: when there is no MATH table, the engine falls back to 0.71 for first-level scripts and 0.5041 for second-level ones. The two real maths fonts on Google Fonts declare their own values, 70 and 55 percent for STIX Two Math and 60 and 50 percent for Noto Sans Math, so superscripts in Noto are visibly smaller.
The short list we confirmed
Three Google Fonts families have Math in the name. Here is what the files contained when we checked both the repository copies and the files served through the Google Fonts CSS API.
STIX Two Math has a MATH table, 996 characters from the Mathematical Alphanumeric Symbols block and a large set of size variants. The STIX project page on GitHub explains that STIX Two is a thorough revision by Tiro Typeworks, that the original STIX was based on Times Roman, and that the family pairs one Math font with roman and italic text fonts. MDN’s guide to maths fonts recommends it, alongside Latin Modern Math, which is not on Google Fonts.
Noto Sans Math also has a MATH table and the same 996 alphanumeric characters, plus 143 Arabic Mathematical Alphabetic Symbols, which STIX Two Math does not cover. Its letterforms are sans serif, so it reads best in slides, dashboards and interfaces rather than in a book.
Libertinus Math is the exception. The upstream Libertinus project describes it as an OpenType maths typeface for applications such as LuaTeX, XeTeX and Word. Yet the copy in the google/fonts repository, and the file the CSS API sent us, had no MATH table and no glyph substitution table. It still holds 984 mathematical alphanumeric characters, so it can show symbols in running text, but it cannot drive equation layout as served.
Pairing table: maths face and text face
Every anchor below is a Google Fonts family we opened. The partner is the text face for prose, headings and captions; x-height figures are our own measurements of the regular styles, in fractions of an em.
| Anchor family | Text partner | Roles and where it fits |
|---|---|---|
| STIX Two Math | STIX Two Text | Journal articles and theses: both measure 0.473 em at x-height, so inline variables match prose |
| STIX Two Math | Source Serif 4 | Reports and textbooks; 0.475 em x-height and optical sizes for footnotes and figure labels |
| STIX Two Math | Charis SIL | Lecture notes mixing formulas with phonetic or heavily accented Latin, 0.482 em x-height |
| Noto Sans Math | Noto Sans | Slides, documentation and apps; identical 0.536 em x-height and shared stroke logic |
| Noto Sans Math | Fira Sans | Data science notebooks and dashboards with sans formulas, 0.527 em x-height |
| Noto Sans Math | Roboto | Android and web tools where equations sit inside interface text, 0.528 em x-height |
| Libertinus Math | Libertinus Serif | Symbols inside Libertinus prose only; the served file has no MATH table, so set display equations in STIX Two Math |
Why x-height decides the pairing
In a sentence such as let x be greater than zero, the variable is set by the maths font while the words around it come from the text font. If the two have different x-heights, the italic x looks swollen or shrunken. That is why the matched pairs come first in the table. STIX Two Text was drawn as the text partner of STIX Two Math and shares its 0.473 em x-height exactly. Noto Sans matches Noto Sans Math to the unit.
When the house style needs another text face, choose one whose x-height lands near the maths font. Source Serif 4 comes within a hair of STIX. Charis SIL runs slightly larger, which helps on screen. On the sans side, Fira Sans and Roboto sit just under Noto Sans Math. A face far from those numbers, such as a small-eyed Garamond, forces you to scale the maths font with size-adjust or a manual font-size, and inline formulas then drift off the baseline rhythm.
Mathematical letters are separate characters
The Unicode Standard, chapter 22 in version 18.0 (read 29 November 2026), explains why maths fonts carry so many letters. A bold H, an italic H and a script H can mean different things in one document, so Unicode encodes styled mathematical alphabets as distinct characters in the block from U+1D400 to U+1D7FF: bold, italic, script, Fraktur, double-struck, sans serif and monospace sets among them. The chapter is firm that these characters belong in mathematical notation only and should not be used to style ordinary text.
For pairing, that has a practical upshot. Most text fonts, however complete, do not include these characters, so a double-struck R or a Fraktur g falls back to whatever the system finds. Put the maths font in the stack for any element that may contain them, and do not rely on the prose font to supply them. The same chapter notes that the script and double-struck styles vary considerably between maths fonts, so check those against your text face before committing.
CSS and MathML set-up
Load the text face for the body and give MathML its own family: math { font-family: ‘STIX Two Math’, math; } keeps the generic math keyword as a fallback. Use the regular style only, since each of the three maths families ships a single style; bold variables should come from the bold mathematical characters, not from font-weight. MathML Core’s math-depth property and font-size: math then scale scripts using the font’s own constants.
Line height needs attention too. Display equations with tall operators or stacked fractions push lines apart, so set paragraphs that contain inline maths with a slightly looser line-height than plain prose, and give display blocks their own margins. If your page also shows code, a monospace partner from our monospace pairings hub keeps listings apart from formulas. For Greek variables in running text, the Greek hub covers text faces with full Greek. Pages that use Arabic mathematical notation can start from Noto Sans Math and the Arabic hub. Try your text partner against a real paragraph with inline symbols in the font pairing generator.
LaTeX, Word and other engines
The same two fonts work outside the browser. The Libertinus project lists LuaTeX, XeTeX and Word among engines that read OpenType maths fonts, and STIX describes its fonts as usable throughout the production process, from print to web. If you need Libertinus Math with full layout in TeX, the upstream release is the one that documents a MATH table; the Google Fonts copy, as served on 29 November 2026, is for symbols only. Libertinus Serif remains a fine text face beside STIX Two Math if you prefer its book texture, though its 0.431 em x-height is smaller.
Frequently Asked Questions
Which Google Fonts have an OpenType MATH table?
STIX Two Math and Noto Sans Math, when we checked the repository files and the files served by the Google Fonts API on 29 November 2026. Libertinus Math is listed but its served file has no MATH table.
Does the math subset tag mean a font can set equations?
No. It means the font includes some mathematical symbols. Equation layout needs the MATH table, which none of the math-tagged text families we sampled contained.
What text font matches STIX Two Math best?
STIX Two Text, its companion, which has the same 0.473 em x-height. Source Serif 4 and Charis SIL are close alternatives.
Should I use bold or italic CSS on maths variables?
No. Each maths family has one style. Bold and italic variables are separate Unicode characters in the Mathematical Alphanumeric Symbols block, and the maths font supplies them.
Is there a sans serif maths font on Google Fonts?
Noto Sans Math. Pair it with Noto Sans for a matched x-height, or with Fira Sans or Roboto for interfaces.


