screensize.net

Bootstrap Breakpoints

Check the active Bootstrap breakpoint live and reference xs, sm, md, lg, xl and xxl media query widths.

xs basesm 576pxmd 768pxlg 992pxxl 1200pxxxl 1400px
Live Bootstrap breakpoint
…pxviewport width
Selected system
Bootstrap
Extra small range
Next breakpoint
sm in 576px
576px min-width
Copy-ready output
base styles (no min-width query)
xs

Critical widths to test

Exact widths around the selected Bootstrap threshold.

Default Bootstrap breakpoint table

BreakpointMin widthRangeMedia queryExample
xsExtra small0px0px-575pxbase styles.col-12
smSmall576px576px-767px@media (min-width: 576px).col-sm-6
mdMedium768px768px-991px@media (min-width: 768px).col-md-6
lgLarge992px992px-1199px@media (min-width: 992px).col-lg-6
xlExtra large1200px1200px-1399px@media (min-width: 1200px).col-xl-6
xxlExtra extra large1400px1400px+@media (min-width: 1400px).col-xxl-6
Grid class example
<div class="row">
  <div class="col-12 col-md-6 col-lg-4">...</div>
</div>
CSS equivalent
@media (min-width: 768px) {
  .layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
Insight

Breakpoints vs. containers

Bootstrap breakpoints are viewport thresholds. Container widths are layout max-widths that change at those thresholds, but they are not the same number as the viewport. A viewport can be992pxwhile the centered container is narrower. Test both the breakpoint behavior and the content width inside the container when debugging grid layouts.

Bootstrap breakpoint testing set

Check the pixel below and the first pixel of every tier. This catches off-by-one grid, container and navbar issues before release.

WidthTargetWhy test it
575pxBelow smLast pixel in the xs base range.
576pxsm startsSmall tier begins; .col-sm-* starts applying.
767pxBelow mdLast width before common tablet grid changes.
768pxmd startsMedium tier begins; .col-md-* starts applying.
991pxBelow lgChecks tablet and compact nav layouts before lg.
992pxlg startsLarge tier begins for many desktop navs.
1199pxBelow xlLast width before wide container spacing.
1200pxxl startsExtra large tier begins.
1399pxBelow xxlLast width before the widest Bootstrap tier.
1400pxxxl startsExtra extra large tier begins.

Frequently asked questions

What is the Bootstrap md breakpoint?

Bootstrap md starts at 768px. Below 768px, layouts stay in the xs or sm ranges depending on viewport width.

What does xs mean in Bootstrap?

xs is the base range below 576px. It does not need a min-width media query because the base styles already apply there.

Are Bootstrap breakpoints based on device width?

No. They respond to viewport width in CSS pixels, so browser chrome, window size and zoom can all affect what range is active.

Related tools

Copy manually

Clipboard access is unavailable. The text is selected below; use your browser's Copy command, Ctrl+C, or ⌘C.