Android typography reverse calculator

PX to SP Converter

Turn measured text pixels back into Android sp values so screenshots, QA notes, and design redlines can become real typography tokens again.

Android Unit Tool

PX to SP Converter

Convert measured text pixels back into Android sp values, taking both display density and accessibility font scaling into account.

Android density presets
Converted value
32sp

32px / ((160/160) x 1) = 32sp

Active factor
1x

Pixel multiplier against the mdpi baseline.

Current target
160dpi

Useful for Android device and asset density checks.

Quick reference table

Common values converted using your active DPI.

Live update
pxsp
4px4sp
8px8sp
12px12sp
16px16sp
20px20sp
24px24sp
32px32sp
44px44sp
48px48sp
64px64sp

More Mobile Dev Tools

Useful for QA

If a screenshot review tells you a heading renders at 54px on a specific device, this tool helps you back into the underlying sp value instead of guessing.

Mind accessibility settings

The same UI can render larger text when accessibility font scaling is enabled, so treat font scale as part of the conversion, not an afterthought.