Border Radius Generator
Design simple or asymmetric CSS border radii and preview the result instantly.
Your input is processed on this page and is not stored by us.
About this tool
Rounded corners are often treated as one number, but CSS can control all four corners independently. The Border Radius Generator previews top-left, top-right, bottom-right and bottom-left values and returns the shortest practical border-radius declaration for the selected shape.
Equal values produce familiar cards and buttons; asymmetric values can create labels, speech-bubble bases, image masks and more distinctive panels. Very large values relative to an element's size are automatically constrained by the browser, which is why 9999px is commonly used for pill shapes. Pair rounded corners with the Box Shadow Generator for elevated cards, but keep both effects restrained so the interface remains clear.
How to use it
- Enter the radius for the top-left, top-right, bottom-right and bottom-left corners.
- Watch the preview to confirm the shape remains balanced at the intended component size.
- Use matching values for conventional cards or different values for an asymmetric shape.
- Copy the generated CSS declaration.
- Test the radius with real content, borders and overflow behavior before using it site-wide.
Useful ways to apply it
- Creating rounded cards, buttons, inputs, avatars and image containers.
- Building pill-shaped navigation items and status badges.
- Making asymmetric promotional panels or decorative image crops.
- Matching corner values from a design file without rewriting shorthand manually.
- Standardizing radii before moving them into CSS custom properties.
Frequently asked questions
In what order are four border-radius values applied?
How do I make a perfect circle?
Why does a very large radius stop getting rounder?
Does border-radius clip child content?
Privacy
Your input is processed on this page and is not stored by us.