Density Calculator Developer is an utility for Android developers application that let you know at what size an image should be resized to fit perfectly in a screen with another density.
From official documentation:
The quantity of pixels within a physical area of the screen; usually referred to as dpi (dots per inch). For example, a "low" density screen has fewer pixels within a given physical area, compared to a "normal" or "high" density screen.
For simplicity, Android groups all actual screen densities into four generalized densities: low, medium, high, and extra high."·
Lets see an example:
The designer designs a button that has a dimension of 100x44.
- User enters: 100 (pixels width)
- Application returns the dimensions in ldpi, mdpi, hdpi, xhdpi (50px,66px,100px,133px) with hdpi as density base.
Keywords: android dpi, pixels to dpi calculator, android dpi calculator, calc, android dpi to pixels.
Great utility to adapt your designs to multiple screens with multiple resolutions and sizes
Quite useful isn't it? :)
More info at: http://developer.android.com/guide/practices/screens_support.html