Skip to content

Menu

Responsive Breakpoint Calculator

Calculate responsive CSS breakpoints for different screen sizes.

Runs entirely in your browserFrontendFree, no sign-up
Loading tool

01What is Responsive Breakpoint Calculator?

Despite the name, this isn't a media query tool. It's a responsive image helper. It suggests which widths to export an image at, then writes the srcset and sizes markup for them. That's the part of responsive images people usually guess at. Enter the Source Image Width in pixels. The tool starts from a fixed list of common widths: 320, 480, 640, 768, 1024, 1280 and 1536. It keeps every width that is no larger than your source, so it never suggests upscaling. Then it adds the source width itself as the largest candidate, unless it's already in the list. A 1920px image gets eight widths. A 700px image gets 320, 480, 640 and 700. A 1024px image gets five, with 1024 listed once. The output comes in three panels. Suggested Breakpoints shows each width as a chip and as a bar scaled against the source width. The srcset panel lists entries in the form image-1280w.jpg 1280w. The HTML Snippet wraps it all in an img tag with a src fallback at full size, a placeholder alt text and a sizes attribute. That sizes value is a fixed example: (max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw. It fits an image that fills the screen on phones, takes half the width on tablets and a third of the row on desktop. The HTML Living Standard says the browser uses sizes plus the device pixel ratio to pick a candidate from srcset. So a wrong sizes value quietly sends the wrong file. Replace it with your image's real rendered width. A few limits to keep in mind. The width list is fixed and you can't edit it from the page. The file names are placeholders, so rename them to match your build output. Decimal input is cut to a whole number, so 1920.5 is treated as 1920. The tool only writes markup and never resizes or uploads an image. The width you type is processed right in the page, and there's no image involved at all.

Front-end developers who need a sensible list of export widths and a starting srcset for one image. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Responsive Breakpoint Calculator

  1. Enter the Source Image Width (px), or click an example such as Full HD or Large Hero.
  2. Check the Suggested Breakpoints list and bars.
  3. Copy the srcset value or the full HTML Snippet with the copy buttons.
  4. Edit the file names, the alt text and the sizes attribute for your layout.
  5. Click Reset to go back to the 1920px starting value.

03Worked examples

Input: 1920
Result: 320w, 480w, 640w, 768w, 1024w, 1280w, 1536w, 1920w
Every default breakpoint at or below the source width is kept, and the source width itself is added last.
Input: 1200
Result: 320w, 480w, 640w, 768w, 1024w, 1200w
1280 and 1536 are dropped because the tool never suggests upscaling past the source.
Input: 1024
Result: 320w, 480w, 640w, 768w, 1024w
When the source width already matches a default breakpoint it is not listed twice.
Input: 300
Result: 300w
A source narrower than the smallest default (320) gets a single srcset entry at its own width.
Input: 700
Result: 320w, 480w, 640w, 700w
Defaults above 700 are dropped and the source width is appended.

04Common use cases

  • Deciding which sizes to export a hero image at before adding it to a site
  • Writing a first srcset for an img tag without counting widths by hand
  • Avoiding pointless upscaled variants of a small 700px source image
  • Planning the output widths for an image CDN or a sharp build script
  • Explaining to a teammate how width descriptors (w) and sizes work together

05Tips

  • The browser picks a candidate using sizes and the device pixel ratio, so a 400px-wide slot on a 3x phone asks for roughly a 1200w file.
  • A wrong sizes value wastes bandwidth: with the default 100vw assumption, browsers download images sized for the full viewport even when the image is small.
  • Generate the actual files with your build tool or image CDN; this page only writes the markup.
  • Always include width and height attributes on the <img> so the browser can reserve space and avoid layout shift.

06Related concepts

srcset, sizes attribute, Responsive images, Device pixel ratio, Width descriptors.

Frequently Asked Questions

What is Responsive Breakpoint Calculator?

Responsive Breakpoint Calculator is a free, browser-based developer tool on AIDToolStack. Calculate responsive CSS breakpoints for different screen sizes. It requires no installation or sign-up and works entirely in your browser.

Is Responsive Breakpoint Calculator free to use?

Yes. No sign-up, no fees and no usage cap.

Does Responsive Breakpoint Calculator store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe