Generated CSS follows standard shorthand rules; verify organic blob shapes in your target browsers before shipping to production.

Skip to border radius generator

Border Radius Generator

Example output

border-radius: 16px;

Tailwind: rounded-[16px]

Corner values are computed locally—nothing uploaded. Add depth with Box Shadow Generator; clip custom shapes with Clip Path Generator.

Live preview

border-radius: 16px;

Preview shape
Preview color

Quick presets

Corner controls

Same on all corners
Unit
px
px
px
px

Generated CSS

CSS property
border-radius: 16px;
Tailwind
rounded-[16px]
Advanced: organic blob shapes

Dual-axis % / % syntax creates organic blobs — great for hero backgrounds and decorative shapes.

Horizontal (X)

%
%
%
%

Vertical (Y)

%
%
%
%
border-radius: 16px;
By Muhammad Abdullah Rauf · Founder, EverydayTools.proUpdated 2026-07-07· Reviewed by EverydayTools Editorial Team

What is a border radius generator?

The CSS border-radius property rounds an element's corners. You can set one value for all corners, two values for diagonal pairs, or four values for each corner independently. Percentages scale with element size — 50% on a square makes a circle.

Advanced syntax uses a slash to set horizontal and vertical radii separately (e.g. 30% 70% 70% 30% / 30% 30% 70% 70%), producing organic blob shapes popular in modern landing pages.

This tool runs entirely in your browser: adjust sliders or tap presets, compare before and after, then copy CSS, Tailwind arbitrary classes, inline styles, or SCSS variables.

Start with a preset (8px card, pill, circle), then fine-tune. Pair rounded corners with box-shadow for depth.

Who uses CSS border-radius builder?

Common real-world scenarios where this tool saves time.

Designers

Explore rounded UI styles

Try card, button, and avatar radii visually before handing specs to engineering.

Frontend developers

Copy production-ready CSS

Get minimal shorthand (border-radius: 16px) and matching Tailwind arbitrary classes.

Students & CSS beginners

Learn what values mean

See how 4px vs 16px vs 50% changes a shape with instant preview and before/after comparison.

Marketing pages

Generate organic blob shapes

Use dual-axis blob mode and randomize for hero backgrounds and decorative sections.

CSS border-radius builder examples

Card radius (modern SaaS)

Input

Rounded panel for dashboards

Output

.card {
  border-radius: 12px;
  overflow: hidden;
}

Button radius

Input

Standard UI button

Output

.btn {
  border-radius: 8px;
}

Pill button

Input

Primary CTA with fully rounded ends

Output

.btn-pill {
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
}

Circle avatar

Input

Square element, equal width and height

Output

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

Organic blob shape

Input

Decorative hero background

Output

.blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

Reference tables

Common border-radius values

Quick reference for typical UI patterns.

PatternCSSTypical use
Noneborder-radius: 0Tables, strict grids
Subtleborder-radius: 4pxInputs, small controls
Cardborder-radius: 12pxPanels, dashboards
Pillborder-radius: 9999pxCTA buttons, tags
Circleborder-radius: 50%Avatars on square elements
Blob30% 70% … / 30% 30% …Hero backgrounds

Workflow guides

Step-by-step chains that connect related tools for common tasks.

Round a card, then add shadow

  1. Set border-radius to 12px or 16px with the Card preview shape.
  2. Copy the CSS property into your stylesheet.
  3. Open Box Shadow Generator to layer depth on the same component.

Best practices

Use consistent radius tokens across your UI

Mixing 6px, 10px, and 14px on similar components looks unintentional — pick a scale (4, 8, 12, 16) and stick to it.

Add overflow: hidden when clipping child images to rounded cards

border-radius rounds the element's border box; child images can still square off unless overflow clips them.

Use 50% for circles only on equal width and height

50% radius on a rectangle produces an ellipse, not a circle — match dimensions for avatars.

Test blob shapes in Safari and Firefox

Dual-axis percentage radii render well in modern browsers but complex blobs deserve a quick cross-browser check.

When this tool isn't the right choice

You need to format or minify an entire CSS file

Use CSS Formatter or CSS Minifier — this tool generates a single border-radius property.

You need non-rectangular clipping paths

border-radius only rounds rectangles — use Clip Path Generator for polygons and custom masks.

You need shadow depth without changing corners

Use Box Shadow Generator — radius and shadow are separate properties.

How to use CSS border-radius builder

  1. Pick a preset or shape

    Tap None, 8px, 16px, Pill, or Circle — or open Advanced blob shapes for organic curves.

  2. Adjust corners

    Drag sliders or type values. Keep corners linked for uniform radius, or unlink to round one corner only.

  3. Preview live

    Switch preview shape (square, card, button, avatar) and toggle Before/After to see the difference from sharp corners.

  4. Copy generated CSS

    Copy the CSS property, radius value only, Tailwind class, inline style, or SCSS variable into your project.

Advertisement

Frequently Asked Questions

What is border-radius in CSS?

border-radius rounds the corners of an element's outer border edge. It accepts one to four length or percentage values and is supported in all modern browsers.

How do I make a circle in CSS?

Set equal width and height, then use border-radius: 50%. On a square element, 50% produces a perfect circle.

Can I create blob shapes with CSS?

Yes. Use the dual-axis syntax: four horizontal percentages, a slash, then four vertical percentages (e.g. 30% 70% 70% 30% / 30% 30% 70% 70%). Open Advanced blob shapes in this tool or click Random blob.

How do I round only one corner?

Turn off Same on all corners (unlink), then set only the corner you need — e.g. border-radius: 16px 0 0 0 for top-left only.

What border-radius value looks modern?

Cards and panels: 8–16px. Inputs and small controls: 4–8px. Primary buttons: 8px or a pill (9999px). Avatars: 50% on a square.

Can I use this with Tailwind CSS?

Yes. Copy the Tailwind arbitrary class (e.g. rounded-[16px] or rounded-[30%_70%_…]) from the output panel.

Border radius generator vs CSS button generator?

This tool focuses on border-radius only—corners, blobs, and shorthand export. CSS Button Generator composes full button styles (background, padding, hover states, and optional shadow). Use this page for radius tokens; use the button generator when you need a complete component stylesheet.

Is this border radius generator free?

Yes. No signup required. Values are computed locally in your browser.

Privacy, accuracy, and trust

Privacy

Border-radius values are generated in your browser — corner settings are not uploaded to EverydayTools servers.

Accuracy

CSS output follows standard border-radius shorthand rules; always verify blob shapes in target browsers.

For design and prototyping — align final radius tokens with your design system in production.

Advertisement

Reviewed by EverydayTools Editorial Team on 2026-07-07.

Same workflow or intent — pick the next step without leaving the site.