Cubic Bezier Easing Editor

Design smooth CSS easing curves with this free cubic bezier editor. Pick a basis preset like sine, quad, expo, or back, then drag the four control points on the bezier graph and watch a live grid animation update in real time. Copy a ready-to-use cubic-bezier() value or Tailwind token in one click. Everything runs 100% in your browser, so your work stays private with no signup and no uploads.

100% private — runs in your browser

Basis

Customize

Preview

Solid square uses your curve · faint square is linear

Pick a basis curve and direction, fine-tune with draggable handles, then preview on the grid.

How to use the cubic bezier editor

  1. Start from a preset. Choose a basis family such as sine, quad, cubic, quart, expo, or back to load a sensible animation curve, then refine it from there.
  2. Drag the control points. Grab the two handles on the bezier graph to reshape the curve. The first handle sets x1,y1 and the second sets x2,y2.
  3. Watch the preview. The grid animation plays your easing on a moving element so you can feel the timing instead of guessing from numbers.
  4. Fine-tune the numbers. Type exact values into the x and y fields when you need precision or want to nudge a single coordinate.
  5. Copy the output. Click to copy a ready-made cubic-bezier() string for plain CSS, or grab the matching Tailwind easing value.
  6. Paste it into your stylesheet. Drop the value into a transition or animation declaration and ship it.

What is a cubic bezier easing curve?

A cubic-bezier easing curve describes how a value changes over the duration of an animation. Time runs left to right along the horizontal axis from 0 to 1, and progress runs bottom to top along the vertical axis, also from 0 to 1. A straight diagonal line means constant speed (linear motion). A curved line means the element speeds up or slows down at different moments, which is what makes motion feel natural.

The curve is defined by four numbers: x1, y1, x2, and y2. These are the coordinates of two control points that bend the line between a fixed start point at (0,0) and a fixed end point at (1,1). In CSS you pass them in that exact order:

transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);

The x values must stay between 0 and 1 because time cannot run backward, but the y values can go below 0 or above 1. That freedom is what lets a curve overshoot or anticipate, producing bounce and back effects.

Built-in CSS keywords and their bezier equivalents

The CSS keywords you already know are just shorthand for specific cubic-bezier curves. Knowing the equivalents helps you start from a familiar feel and then customize it in the editor.

Keyword / name cubic-bezier() value How it feels
linear cubic-bezier(0, 0, 1, 1) Constant speed, mechanical, no acceleration
ease cubic-bezier(0.25, 0.1, 0.25, 1) Gentle start, quick middle, soft stop (the default)
ease-in cubic-bezier(0.42, 0, 1, 1) Slow start, accelerating finish
ease-out cubic-bezier(0, 0, 0.58, 1) Fast start, decelerating finish
ease-in-out cubic-bezier(0.42, 0, 0.58, 1) Slow start and stop, faster middle
easeOutBack cubic-bezier(0.34, 1.56, 0.64, 1) Overshoots past the target, then settles back
easeInBack cubic-bezier(0.36, 0, 0.66, -0.56) Pulls back first, then drives forward

Choosing easing for different motion

The right CSS easing depends on what the element is doing. A simple rule covers most cases: use deceleration when something arrives and acceleration when it leaves.

  • Entrances use ease-out. Elements that appear, slide in, or expand should start fast and settle gently, so the eye lands softly on the final position.
  • Exits use ease-in. Elements leaving the screen should start slow and accelerate away, which reads as decisive and gets them out of view quickly.
  • Moves and transforms use ease-in-out. When something travels from one place to another on screen, easing both ends keeps the motion smooth and balanced.
  • Attention and playfulness use back or overshoot. A curve whose y passes 1 makes an element bounce slightly past its target, drawing the eye to a button, badge, or notification.

Keep durations short for UI feedback (roughly 150 to 300 ms) so the easing reads as responsive rather than sluggish.

Using easing in transition, animation, and linear()

An easing value plugs into the timing-function slot of both transitions and keyframe animations. In a transition it shapes the change between two states:

transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);

In an animation it controls the pacing across keyframes:

animation: slideIn 400ms cubic-bezier(0, 0, 0.58, 1) forwards;

Cubic-bezier can only bend a single arc between two points, so it cannot describe wiggles, multi-step bounces, or true elastic motion. For those, modern browsers support the linear() function, which approximates any shape using a list of stops, for example animation-timing-function: linear(0, 0.25 25%, 1 50%, 0.75 75%, 1). Use cubic-bezier for everyday acceleration and deceleration, and reach for linear() when a curve needs to reverse direction more than once.

Popular named easing curves and their cubic-bezier values

Beyond the built-in CSS keywords, designers reach for a wider library of named curves popularized by the easings.net cheat sheet. Each belongs to a family (sine, quad, cubic, quart, quint, expo, circ, back) and comes in in, out, and in-out variants. Drop any of these values into the editor as a starting point, then refine the handles to taste.

Named easing cubic-bezier() value How it feels
easeInOutCubic cubic-bezier(0.65, 0, 0.35, 1) Balanced and natural, a touch stronger than the default ease
easeInOutQuart cubic-bezier(0.76, 0, 0.24, 1) Smooth with pronounced acceleration and braking
easeOutQuint cubic-bezier(0.22, 1, 0.36, 1) Snappy arrival with a long, gentle settling tail
easeOutExpo cubic-bezier(0.16, 1, 0.3, 1) Very fast launch that glides into a graceful stop
easeInOutExpo cubic-bezier(0.87, 0, 0.13, 1) Dramatic, near-flat ends with an explosive middle
easeOutCirc cubic-bezier(0, 0.55, 0.45, 1) Quick start that eases firmly into its final position
easeInOutBack cubic-bezier(0.68, -0.6, 0.32, 1.6) Anticipates first, then overshoots before settling

Bounce and elastic easing that cubic-bezier cannot do

The elastic and bounce families from easings.net are missing from the table above for a simple reason: a single cubic-bezier curve can only bend once, so it cannot reproduce the repeated rebounds of a bounce or the wobble of an elastic spring. For those effects, use the linear() easing function, which stitches together many points to trace any shape. A simple bounce-out looks like this:

animation-timing-function: linear(0, 0.063, 0.25, 0.563, 1, 0.813, 0.75, 0.813, 1);

Each number is a progress value sampled at even time intervals, so the value rises to 1, dips back, and rises again to mimic a ball settling. Reach for cubic-bezier when motion needs to accelerate or decelerate once, and switch to linear() the moment a curve has to change direction more than that.

Frequently asked questions

What does cubic-bezier mean?

A cubic Bezier is a smooth curve defined by a start point, an end point, and two control points that pull the line toward them. In CSS animation the curve maps elapsed time to animation progress, which determines how an element accelerates and decelerates.

What do the four numbers in cubic-bezier() represent?

They are two coordinate pairs: x1,y1 for the first control point and x2,y2 for the second. The start (0,0) and end (1,1) are fixed, so those four numbers are all you need to fully describe the animation curve.

Can the y values go above 1 or below 0?

Yes. The x (time) values are clamped between 0 and 1, but y (progress) values can exceed that range. A y above 1 makes the animation overshoot its target, and a y below 0 makes it pull back before moving forward, which creates back and anticipation effects.

What is the difference between ease-in and ease-out?

Ease-in starts slow and speeds up toward the end, which suits elements leaving the screen. Ease-out starts fast and slows down as it finishes, which suits elements entering. Ease-in-out combines both for motion that travels between two on-screen positions.

How do I copy the value into my CSS?

Click the copy button in the editor to grab the full cubic-bezier() string, then paste it into a transition or animation timing-function. You can also copy the Tailwind value if you configure easing through your theme.

What is the difference between cubic-bezier() and steps()?

Cubic-bezier produces continuous, smooth motion. The steps() function instead jumps between a fixed number of discrete frames with no in-between movement, which is ideal for sprite sheets, typewriter effects, and ticking counters rather than fluid transitions.

How do I use these curves with Tailwind CSS?

Tailwind ships utilities like ease-in, ease-out, and ease-in-out, and you can register custom curves under transitionTimingFunction in your theme. The editor outputs a Tailwind-ready value so you can paste a custom cubic-bezier() straight into your config.

Is this tool free and private?

Yes. The cubic bezier editor is completely free, requires no signup, and runs entirely in your browser. Nothing you create is uploaded to a server, so your curves and settings never leave your device.

What are the easings.net easing curves?

Easings.net is a widely used cheat sheet of around 30 named easing curves grouped into families such as sine, quad, cubic, quart, quint, expo, circ, and back, each offered as an in, out, or in-out variant. Most map directly to a cubic-bezier() value you can paste into CSS, which is why their names show up across animation libraries and design tools.

How do I make a bounce or elastic easing in CSS?

Bounce and elastic motion reverse direction several times, so a single cubic-bezier() curve cannot express them. Use the linear() easing function instead, listing a series of progress stops that rise and fall to create the rebounds. Many animation libraries and JavaScript can also drive these effects, but linear() keeps them in pure CSS.

What is the linear() easing function?

The linear() function defines an easing curve as a list of progress values that the browser connects with straight segments, approximating almost any shape including bounces, springs, and wiggles. It is supported in current versions of Chrome, Edge, Firefox, and Safari, and degrades gracefully where it is unavailable.

Can I save or share a curve I made?

Yes. Click Copy share link to copy the page address with your four values added after a # sign, such as #0.645,0.045,0.355,1. Anyone who opens that link sees the same curve loaded in the editor. Your browser also remembers your last curve, duration, loop setting and code tab, so they're still there when you come back on the same device.

Related design tools & guides