MeasingsSee, tune and export easings

power4.inOut ease

Also known as Quint in-out, easeInOutQuint.

Quint in-out is a power curve (progress raised to a fixed exponent): the higher the exponent, the stronger the acceleration. The in-out variant is slow at both ends and fastest in the middle, good for moving something between two positions on screen. The exponent is 5. It is identical to GSAP's built-in "power4.inOut" ease, so no plugin is needed there.

Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.

Code

GSAP

gsap.to(".box", { x: 200, duration: 0.6, ease: "power4.inOut" });

GSAP CustomEase

gsap.registerPlugin(CustomEase);
CustomEase.create("quintInOut", "M0,0 C0.0417,0 0.0833,-0.0003 0.125,0.0005 C0.1667,0.0013 0.2083,0.0026 0.25,0.0156 C0.2917,0.0286 0.3333,0.0527 0.375,0.1187 C0.4167,0.1846 0.4583,0.2917 0.5,0.5 C0.5417,0.7083 0.5833,0.8154 0.625,0.8813 C0.6667,0.9473 0.7083,0.9714 0.75,0.9844 C0.7917,0.9974 0.8333,0.9987 0.875,0.9995 C0.9167,1.0003 0.9583,1 1,1");

gsap.to(".box", { x: 200, duration: 0.6, ease: "quintInOut" });

CSS linear()

transition-timing-function: linear(0, 0.0012 15%, 0.009 22.4%, 0.0176 25.6%, 0.0299 28.47%, 0.0463 31.07%, 0.0672 33.47%, 0.0976 36.07%, 0.1359 38.53%, 0.1824 40.87%, 0.237 43.07%, 0.2974 45.07%, 0.367 47%, 0.4368 48.67%, 0.545 50.93%, 0.5979 52.13%, 0.6583 53.67%, 0.7113 55.2%, 0.7684 57.13%, 0.8191 59.2%, 0.8617 61.33%, 0.8978 63.6%, 0.9294 66.2%, 0.9547 69.07%, 0.9734 72.2%, 0.9864 75.67%, 0.994 79.33%, 0.9982 83.73%, 1);

CSS has no built-in curve of this shape, so it is sampled into linear(), which works in all current browsers.

Tailwind

ease-[linear(0,0.0012_15%,0.009_22.4%,0.0176_25.6%,0.0299_28.47%,0.0463_31.07%,0.0672_33.47%,0.0976_36.07%,0.1359_38.53%,0.1824_40.87%,0.237_43.07%,0.2974_45.07%,0.367_47%,0.4368_48.67%,0.545_50.93%,0.5979_52.13%,0.6583_53.67%,0.7113_55.2%,0.7684_57.13%,0.8191_59.2%,0.8617_61.33%,0.8978_63.6%,0.9294_66.2%,0.9547_69.07%,0.9734_72.2%,0.9864_75.67%,0.994_79.33%,0.9982_83.73%,1)]

Webflow

In Interactions, choose a custom ease and paste this path:

M0,0 C0.0417,0 0.0833,-0.0003 0.125,0.0005 C0.1667,0.0013 0.2083,0.0026 0.25,0.0156 C0.2917,0.0286 0.3333,0.0527 0.375,0.1187 C0.4167,0.1846 0.4583,0.2917 0.5,0.5 C0.5417,0.7083 0.5833,0.8154 0.625,0.8813 C0.6667,0.9473 0.7083,0.9714 0.75,0.9844 C0.7917,0.9974 0.8333,0.9987 0.875,0.9995 C0.9167,1.0003 0.9583,1 1,1

Related easings

See how power4.inOut measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.

Browse all 91 easings in Measings