⧔ Cubic Bezier Editor
Visual CSS timing function editor with live preview.
Last updated: November 8, 2026 · By the BoltQuickTools team
Preview
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
- 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.
- Or start from a button: linear, ease, ease-in, ease-out, ease-in-out, back or bounce.
- Set Duration from 0.3s to 3.0s and press Play. The ball travels across, pauses briefly and returns using the same curve.
- 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.
| Curve | 25% of time | 50% | 75% |
|---|---|---|---|
| ease | 0.409 | 0.802 | 0.960 |
| ease-in | 0.093 | 0.315 | 0.622 |
| ease-out | 0.378 | 0.685 | 0.907 |
| ease-in-out | 0.129 | 0.500 | 0.871 |
| back | -0.083 | 0.597 | 1.089 |
| bounce | 0.847 | 1.068 | 1.076 |
| Example above | 0.857 | 1.026 | 1.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
- Dragging can only reach y from about -0.14 to 1.14. That is the edge of the graph. Larger overshoots must be typed, and points beyond the edge are not visible, as with the back preset at y -0.55 and 1.55.
- x must stay between 0 and 1. Dragging enforces this, but the fields do not. If you type x 1.5, the output line still shows it, browsers reject that value, and Play jumps with no animation.
- Dragging only tracks over the graph. Move the pointer outside and the point stops following until you come back.
- The fields show two decimals, the CSS shows three. The bounce preset's 0.175 appears as 0.17 in the field and 0.175 in the output, and the output is what counts.
- The "bounce" preset overshoots once. One cubic segment can only do that, reaching about 1.087 here. For repeated bounces use
@keyframesor the CSSlinear()function, which this page does not generate. steps()is not available either.
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.