screensize.net

Tailwind Breakpoints

Check the active Tailwind CSS breakpoint live and reference the default rem values, pixel equivalents and media queries.

basesm 40remmd 48remlg 64remxl 80rem2xl 96rem
Live Tailwind breakpoint
…pxviewport width
Selected system
Tailwind CSS
Base range
Next breakpoint
sm in 640px
40rem min-width (640px equivalent)
Copy-ready output
base styles (no min-width query)
base

Critical widths to test

Exact widths around the selected Tailwind threshold.

Default Tailwind breakpoint table

BreakpointMin widthRangeMedia queryExample
baseBase0px0px-639pxbase stylesgrid gap-4
smSmall40rem (640px)640px-767px@media (min-width: 40rem)sm:grid-cols-2 sm:gap-6
mdMedium48rem (768px)768px-1023px@media (min-width: 48rem)md:grid-cols-2 md:gap-6
lgLarge64rem (1024px)1024px-1279px@media (min-width: 64rem)lg:grid-cols-2 lg:gap-6
xlExtra large80rem (1280px)1280px-1535px@media (min-width: 80rem)xl:grid-cols-2 xl:gap-6
2xl2x large96rem (1536px)1536px+@media (min-width: 96rem)2xl:grid-cols-2 2xl:gap-6
Mobile-first example
<div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
  ...
</div>
CSS equivalent
@media (min-width: 48rem) {
  .layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
Insight

How Tailwind breakpoints apply

Tailwind responsive variants are mobile-first. Unprefixed utilities are the base styles, thensm:,md:,lg:and larger prefixes apply at their min-width thresholds. DPR and physical screen resolution do not change which Tailwind breakpoint is active; CSS viewport width does.

Tailwind breakpoint testing set

Test exact widths around each default threshold. The width below the breakpoint catches the old layout; the threshold itself confirms the new utilities activate.

WidthTargetWhy test it
639pxBelow smLast pixel before sm utilities apply.
640pxsm startsSmall breakpoint begins at 40rem.
767pxBelow mdUseful for checking one-column mobile layouts.
768pxmd startsCommon tablet and two-column layout threshold.
1023pxBelow lgLast width before many desktop nav layouts appear.
1024pxlg startsLaptop and tablet landscape breakpoint.
1279pxBelow xlChecks dense cards before wider desktop spacing.
1280pxxl startsWide desktop layout threshold.
1535pxBelow 2xlLast pixel before the largest default tier.
1536px2xl startsLarge laptop and desktop canvas threshold.

Frequently asked questions

What is the default Tailwind md breakpoint?

The default Tailwind md breakpoint starts at 48rem, which is 768px with the default browser root font size.

Does Tailwind use max-width breakpoints by default?

No. Tailwind's default responsive variants are mobile-first min-width breakpoints. Max-width variants are available when you need to target below a breakpoint.

Should I use device names for Tailwind breakpoints?

No. Treat breakpoints as layout thresholds, not specific devices. Test common viewport widths and adjust the layout where it actually needs to change.

Related tools

Copy manually

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