# Cubic Bezier Generator

Turn four control point values or a CSS easing keyword into a cubic-bezier() timing function with sample points. The tool solves the curve at evenly spaced moments, shows how far the animation has progressed at each one, and gives you the CSS, a Tailwind class and an equivalent linear() easing built from the samples.

## Frequently asked questions

### What do the four numbers mean?

They are the x and y coordinates of the two control points of a curve that starts at 0,0 and ends at 1,1. x is the share of the duration that has passed and y is the share of the change that has happened. The first point shapes the start of the animation and the second shapes the end.

### Why must the x values be between 0 and 1?

Time cannot run backwards, so the CSS specification only accepts x values from 0 to 1. The y values may go below 0 or above 1, which creates an overshoot or a short pull back.

### Which keywords can I enter?

ease, linear, ease-in, ease-out and ease-in-out, which CSS defines as cubic-bezier(0.25, 0.1, 0.25, 1), (0, 0, 1, 1), (0.42, 0, 1, 1), (0, 0, 0.58, 1) and (0.42, 0, 0.58, 1). You can also paste a full cubic-bezier() value.

### How are the sample points calculated?

For each moment in time the tool finds the point on the curve with that x value, using Newton's method with a bisection fallback, and reports its y value. The progress column shows those values as percentages.

### What is the linear() value for?

linear() is a newer CSS easing function that connects points with straight lines. With enough samples it closely follows the curve, and it can also describe easings that cubic-bezier() cannot. Use more sample points for a closer match.

### How do I use the curve in Tailwind CSS?

Use the arbitrary value class shown, such as ease-[cubic-bezier(0.25,0.1,0.25,1)], together with a transition class. The commas have no spaces so the class stays one word.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
