⧔ Cubic Bezier Editor

Visual CSS timing function editor with live preview.

Last updated: November 8, 2026 · By the BoltQuickTools team

P1: x y
P2: x y

Preview

1.2s
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);

Click the CSS to copy. Snaps to grid when dragging close to integer tenths.

Tuning how a CSS animation speeds up and slows down

The built-in keywords such as ease cover a few cases, but a panel slide or a button press often needs something in between. This page lets you shape the curve, watch a ball follow it, and copy the cubic-bezier() value.

Shaping a curve

  1. Drag the blue P1 and red P2 points on the graph, or type into the x and y fields beside each one. Typed values apply when you press Enter or click away.
  2. Or start from a button: linear, ease, ease-in, ease-out, ease-in-out, back or bounce.
  3. Set Duration from 0.3s to 3.0s and press Play. The ball travels across, pauses briefly and returns using the same curve.
  4. Click the CSS line to copy it. There is no confirmation message.

Example: a dropdown that lands with a small spring

Enter P1 x 0.2, y 1.4 and P2 x 0.6, y 0.95. The output line reads:

animation-timing-function: cubic-bezier(0.200, 1.400, 0.600, 0.950);

The table shows progress at three points in the animation for that curve and for the presets, worked out from the same control points. A value above 1 means the element has gone past its end position.

Curve25% of time50%75%
ease0.4090.8020.960
ease-in0.0930.3150.622
ease-out0.3780.6850.907
ease-in-out0.1290.5000.871
back-0.0830.5971.089
bounce0.8471.0681.076
Example above0.8571.0261.013

ease is already 80% done at the halfway mark, which is why it feels quick. The example peaks at about 1.03, a 3% overshoot.

Limits of the editor

Transitions, overshoot and the preview

The output says animation-timing-function. Can I use it for transitions?

Yes. The cubic-bezier() part is the same for transition-timing-function and in the transition and animation shorthands. Replace the property name.

Why can y go past 0 and 1 when x cannot?

x is time, and time has to move forward from start to finish. y is progress, and an element may overshoot its target or pull back before it starts.

Is the preview a simulation?

No. Play sets a real CSS transition on the ball, so the browser is doing the same work it would do on your page.

What can I animate cheaply with this?

transform and opacity are generally the smoothest properties. For shapes, the clip-path generator has presets that can transition into each other, and the box shadow generator helps with hover states.