Nutter Tools
Nutter Tools

A free toolbox that runs in your browser. A tool for every job.

Your files never leave your device

Images

  • Convert images
  • Compress images
  • Resize images
  • Crop
  • Watermark

PDF & files

  • Merge PDFs
  • Split a PDF
  • Images to PDF
  • PDF to images
  • Remove photo location

Video & audio

  • Compress video
  • Convert video
  • Video to GIF
  • Convert audio
  • Trim audio

Everyday

  • QR codes
  • Passwords
  • Time zones
  • Unit converter
  • Word count
  • Webcam test

Developer

  • JSON formatter
  • Base64
  • Regex tester
  • Hashes
  • JWT decoder

Site

  • About
  • Contact
  • Settings
  • Privacy
  • Terms
  • Site map
  • llms.txt

Everyday

  • Images
  • Video
  • Audio
  • PDF & files
  • Text
  • QR codes
  • Units & math
  • Time & dates
  • Color
  • Passwords & IDs
  • Device tests
  • Sun & moon

For developers

  • JSON
  • Encoding
  • Regex & cron
  • Web & auth
  • Hashing & encryption
  • Config files
  • Network
  • Browser
  • AI
  • Fake data
© Nutter Toolsnutter.tools
  1. Home
  2. Regex & cron
  3. Android screen density calculator
Your files stay on your device

Android screen density calculator

Convert a value between dp, sp and px for any density bucket, derive device dpi from resolution and diagonal, and list asset pixel sizes for mdpi through xxxhdpi.

This tool is in beta

Still being tested. If a result looks wrong, tell us.

Report a problem

Enter a value to convert.

The 160 dpi baseline is the whole model: one dp is one pixel at mdpi, and every bucket is a multiple of that. sp additionally follows the reader's font scale, so a label sized in sp grows when they raise it. Bucket arithmetic here is the plain math from the Android pixel-density docs; a real device can report a fractional density, and resource lookups round to the nearest bucket on the device itself.

Convert

Which bucket the value converts through
More settings▾
Lists the pixel sizes to export per bucket

Device dpi = pixel diagonal over inch diagonal. Asset sizes truncate, the way Android resource sizes do. Up to 4,096 dp.

Values stay within ±10,000,000. A custom dpi is a whole number up to 10,000. Fill all three device fields or none.

More regex & cron tools

  • Screenshot size checker
  • Android phone test
  • Screen & viewport
All regex & cron tools

Was this tool useful?