easeInOutQuart

Fourth power: a long, confident glide into place after a quick start (or the reverse). Feels premium and deliberate. An ease-in-out speeds up and slows down symmetrically. Use it for objects that move from one resting place to another while staying on screen.

Fit cubic-bezier(0.76, 0, 0.24, 1)
0time →1
This curve
Linear
Export finishedlaunch-film.mp4 · 4K
Half way at50 %
90 % at67 %
OvershootNone
Bezier fit error2.2 %

Code

The cubic-bezier is a close fit (up to 2.2 % off). The CSS linear() value and the JavaScript function are exact.

/* Exact curve (all modern browsers): */
transition: transform 600ms linear(0, 0.002 12.5%, 0.012 19.8%, 0.023 23.2%, 0.038 26.2%, 0.055 28.8%, 0.079 31.5%, 0.111 34.3%, 0.153 37.2%, 0.198 39.7%, 0.253 42.2%, 0.309 44.3%, 0.374 46.5%, 0.443 48.5%, 0.593 52.5%, 0.647 54.2%, 0.7 56%, 0.755 58.2%, 0.802 60.3%, 0.845 62.7%, 0.882 65.2%, 0.916 68%, 0.945 71.2%, 0.966 74.5%, 0.981 78%, 0.991 81.8%, 0.997 86.2%, 1);

/* Cubic-bezier approximation: */
transition: transform 600ms cubic-bezier(0.76, 0, 0.24, 1);

Exact CSS

linear() draws any curve with straight segments. This one uses 28 points chosen so the motion never strays more than 0.25 % from the real easeInOutQuart; every current browser supports it.

linear(0, 0.002 12.5%, 0.012 19.8%, 0.023 23.2%, 0.038 26.2%, 0.055 28.8%, 0.079 31.5%, 0.111 34.3%, 0.153 37.2%, 0.198 39.7%, 0.253 42.2%, 0.309 44.3%, 0.374 46.5%, 0.443 48.5%, 0.593 52.5%, 0.647 54.2%, 0.7 56%, 0.755 58.2%, 0.802 60.3%, 0.845 62.7%, 0.882 65.2%, 0.916 68%, 0.945 71.2%, 0.966 74.5%, 0.981 78%, 0.991 81.8%, 0.997 86.2%, 1)

Questions

What is easeInOutQuart as a cubic-bezier?

The usual fit is cubic-bezier(0.76, 0, 0.24, 1). It strays from the true easeInOutQuart by up to 2.2 % of the distance travelled; for the exact curve use the CSS linear() value on this page, which stays within 0.25 %.

When should I use easeInOutQuart?

Hero moves, big layout changes and launch films where an object should 'land' with weight. An ease-in-out speeds up and slows down symmetrically. Use it for objects that move from one resting place to another while staying on screen.

The rest of the quart family

Compare with

Animate with easeInOutQuart in Kineform

Pick it from any key, text animator or camera move, or bend it in the graph editor — on a real-time engine with 3D, light, type and video.