Android dp ↔ px ↔ sp Converter

Convert dp, px and sp across every Android density bucket.

Support
Works Offline
Privacy First
No Login
No API

About the Android dp ↔ px ↔ sp Converter

Convert density-independent pixels to real pixels for ldpi through xxxhdpi, go back from px to dp, and see how sp text scales with the user's font size setting. Includes a full density bucket table with DPI, scale factor and guidance on which buckets still matter.

Examples

16dp on xxhdpi

16dp, xxhdpi

Output

48px

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-23 · Runs entirely in your browser