TIME
PROGRESSION
Recalculating...

Presets

Click on a preset to view it, or drag the handles to create a custom curve.

Custom
Ease
Linear
Ease-in
Ease-out
Ease-in-out
Material standard
Material decelerate
Accelerate

What Is a Cubic Bezier Curve in CSS?

A cubic-bezier curve lets you customize the speed of your CSS animations. It defines how an animation progresses over time — whether it starts slow, speeds up, bounces, or eases in or out.

The cubic-bezier() function uses four numbers: x1, y1, x2, y2. These control points shape the animation curve between the fixed start (0, 0) and end (1, 1).

This page lets you edit a cubic-bezier curve and see how it changes the animation in real time. Explore how different values affect the motion of your elements!

Examples of Popular Bezier Curves

⏳ Ease-In (Slow Start)

The animation begins slowly, then speeds up.

cubic-bezier(0.42, 0, 1, 1)

🏁 Ease-Out (Smooth End)

Starts fast and ends smoothly.

cubic-bezier(0, 0, 0.58, 1)

🪀 Bounce Effect

Overshoots and springs back like a rubber band.

cubic-bezier(0.68, -0.55, 0.27, 1.55)

How the Cubic-Bezier Numbers Work

CSS Animation Tips for Better UX

Try It Live

Use the curve editor above to tweak your own cubic-bezier() values and instantly preview how the animation changes.

Export to After Effects with One Click

Want to bring your easing into motion graphics or video work? You can generate After Effects (AE) expression code from any cubic-bezier curve you design here.

Simply choose from:

Each option outputs a clean, copy-paste-ready AE expression that mimics the exact curve you're seeing in the preview. Your animation will ease smoothly between two keyframes with precision — no plugins needed.

Why Use AE Expression Export?

Just select your curve, open the Copy Options dropdown, and choose the After Effects property you want. Then paste it directly into AE — and boom, beautiful motion.