Screen Resolution Calculator
Find a screen’s pixel density (PPI), aspect ratio, dot pitch and physical width and height from its resolution and diagonal.
Open toolConvert device pixels to CSS viewport size, preview breakpoints, convert px/rem/vw and build fluid clamp() values.
Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.
A planning and formatting aid, not a security or compliance audit. It doesn't test your live site; check every change in a staging environment and with your server or provider's documentation before deploying.
Enter a screen's device-pixel size and pixel ratio to get its CSS viewport, which breakpoint it hits in portrait and landscape, and your current window's size and ratio. Compare against Tailwind CSS or Bootstrap 5 default breakpoints or your own.
Convert px to rem and vw, and generate a fluid clamp() value that scales a size smoothly between two viewport widths, written in rem so it respects the user's font-size setting. Everything runs in your browser: nothing you paste or type is uploaded, and no website, DNS server or API is contacted.
Your code or text
Pasted or opened from a file
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Enter the device's pixel size and ratio.
Choose a breakpoint set to see where it lands.
Use the converters and copy the clamp() value.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Choose a breakpoint set to see where it lands.
Use the converters and copy the clamp() value.
Find a screen’s pixel density (PPI), aspect ratio, dot pitch and physical width and height from its resolution and diagonal.
Open toolBuild CSS grid layouts with track sizes, gaps and named template areas, previewed live.
Open toolFind the aspect ratio of any size and calculate new dimensions that keep the same proportions.
Open toolBuild campaign-tagged links with UTM parameters, one at a time or in bulk, with tidy formatting.
Open tool