PX to DP Converter
Turn pixel values from dense screens, screenshots, and exported assets back into Android dp so you can keep your spacing system consistent.
PX to DP Converter
Convert raw pixel measurements back into Android dp units so you can turn screenshots, exported assets, and QA findings into reusable layout tokens.
48px / (160/160) = 48dp
Pixel multiplier against the mdpi baseline.
Useful for Android device and asset density checks.
Quick reference table
Common values converted using your active DPI.
| px | dp |
|---|---|
| 4px | 4dp |
| 8px | 8dp |
| 12px | 12dp |
| 16px | 16dp |
| 20px | 20dp |
| 24px | 24dp |
| 32px | 32dp |
| 44px | 44dp |
| 48px | 48dp |
| 64px | 64dp |
More Mobile Dev Tools
DP to PX Converter
Convert Android density-independent pixels into device pixels.
SP to PX Converter
Preview Android typography values across density and font scale.
PX to SP Converter
Reverse Android text pixels into scale-independent units.
iOS Points to Pixels
Convert iOS points into @1x, @2x, and @3x asset pixels.
Best use cases
Use px to dp conversion when a screenshot review says a button looks 96px tall on a device, but you want to know the reusable Android token behind that measurement.
Why dp matters
dp keeps components visually consistent across screens. Converting pixels back into dp is one of the quickest ways to move from observation into an actual design-system value.