Compare Fonts → Sans Serif → Roboto vs Ubuntu
Roboto vs Ubuntu
Both are sans serif faces on Google Fonts. Roboto has the larger x-height, so it looks bigger at the same size. Ubuntu takes more horizontal space.
Roboto
Handgloves & Quartz Jockeys
Handgloves & Quartz Jockeys
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs, then ship it to 1,842 Grove Street by 9:30 AM.
Ubuntu
Handgloves & Quartz Jockeys
Handgloves & Quartz Jockeys
The quick brown fox jumps over the lazy dog. Pack my box with five dozen liquor jugs, then ship it to 1,842 Grove Street by 9:30 AM.
Measured differences
| Measurement | Roboto | Ubuntu | Difference |
|---|---|---|---|
| x-heightHeight of lowercase letters, as a share of the font size. Higher reads larger at the same point size. | 52.8% | 52.0% | 0.8% |
| Cap heightHeight of capitals, as a share of the font size. | 71.1% | 69.3% | 1.8% |
| x-height to cap ratioProportion of lowercase to uppercase. Higher feels more modern and open. | 0.74 | 0.75 | 0.01 |
| Stroke weightMeasured thickness of a vertical stroke. Higher is heavier on the page. | 9.1% | 9.7% | 0.6% |
| Stroke contrastHorizontal stroke divided by vertical. 1.0 is even; below 0.5 means strong thick-thin modulation. | 0.82 | 0.84 | 0.03 |
| Average character widthMean lowercase advance. Higher takes more horizontal space. | 49.9% | 51.3% | 1.4% |
Where they diverge most
- Stroke weight: Roboto measures 9.1%, Ubuntu measures 9.7%. Measured thickness of a vertical stroke. Higher is heavier on the page.
- Average character width: Roboto measures 49.9%, Ubuntu measures 51.3%. Mean lowercase advance. Higher takes more horizontal space.
- x-height: Roboto measures 52.8%, Ubuntu measures 52.0%. Height of lowercase letters, as a share of the font size. Higher reads larger at the same point size.
At a glance
| Roboto | Ubuntu | |
|---|---|---|
| Category | Sans Serif | Sans Serif |
| Weights | 9 | 4 |
| Variable axes | 2 | None |
| Language subsets | 9 | 6 |
| Designer | Christian Robertson | Dalton Maag |