Compare Fonts

Compare FontsSans 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

Measured from the font files. Heights and widths are shown as a share of the font size, so they compare directly at any point size.
MeasurementRobotoUbuntuDifference
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.740.750.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.820.840.03
Average character widthMean lowercase advance. Higher takes more horizontal space.49.9%51.3%1.4%

Where they diverge most

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

See fonts similar to Roboto or fonts similar to Ubuntu.