# easeInElastic: CSS linear() easing (no cubic-bezier fit)

> easeInElastic as CSS: the exact linear() string, why cubic-bezier cannot draw it, and a live demo. It is 50% done at 96% of the time.

Canonical: https://vawe.dev/easing/ease-in-elastic
Last updated: 2026-11-04

easeInElastic reaches 50% of its travel at 96% of the time and 90% at 99%. Its peak speed is 15.39x the average. It dips 37.31% below the start value first.

It starts slowly and ends fast. It rings around its start, then jumps to the end.

| Measure | Value |
| --- | --- |
| Role | Overshoot |
| Reaches 50% of its travel at | 96% |
| Reaches 90% of its travel at | 99% |
| Peak speed | 15.39x the average |
| Undershoot | 37.31% |

## CSS linear()

```css
linear(0, -0.0004, -0.0003, -0.0001, 0, 0.0002, 0.0003, 0.0005, 0.0007, 0.0009, 0.0011, 0.0012, 0.0014, 0.0016, 0.0017, 0.0019, 0.002, 0.002, 0.0021, 0.0021, 0.002, 0.0019, 0.0018, 0.0016, 0.0014, 0.0011, 0.0008, 0.0004, 0, -0.0004, -0.0009, -0.0014, -0.002, -0.0025, -0.003, -0.0035, -0.004, -0.0045, -0.0049, -0.0052, -0.0055, -0.0057, -0.0058, -0.0058, -0.0057, -0.0054, -0.0051, -0.0046, -0.0039, -0.0031, -0.0022, -0.0012, 0, 0.0013, 0.0026, 0.004, 0.0055, 0.007, 0.0085, 0.01, 0.0114, 0.0127, 0.0138, 0.0148, 0.0156, 0.0162, 0.0165, 0.0164, 0.0161, 0.0154, 0.0143, 0.0129, 0.011, 0.0088, 0.0062, 0.0033, 0, -0.0036, -0.0074, -0.0115, -0.0156, -0.0199, -0.0241, -0.0282, -0.0322, -0.0359, -0.0391, -0.042, -0.0442, -0.0458, -0.0466, -0.0465, -0.0455, -0.0435, -0.0405, -0.0364, -0.0312, -0.025, -0.0176, -0.0093, 0, 0.0101, 0.021, 0.0324, 0.0442, 0.0562, 0.0682, 0.0799, 0.091, 0.1014, 0.1107, 0.1187, 0.125, 0.1294, 0.1317, 0.1315, 0.1287, 0.1232, 0.1146, 0.1031, 0.0884, 0.0706, 0.0499, 0.0263, 0, -0.0287, -0.0593, -0.0916, -0.125, -0.1589, -0.1928, -0.2259, -0.2575, -0.2868, -0.3132, -0.3357, -0.3536, -0.366, -0.3724, -0.372, -0.3641, -0.3483, -0.3242, -0.2915, -0.25, -0.1998, -0.1411, -0.0743, 0, 0.081, 0.1678, 0.2591, 0.3536, 0.4495, 0.5453, 0.6388, 0.7282, 0.8113, 0.8858, 0.9494, 1)
```

## Web Animations

```js
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, -0.0004, -0.0003, -0.0001, 0, 0.0002, 0.0003, 0.0005, 0.0007, 0.0009, 0.0011, 0.0012, 0.0014, 0.0016, 0.0017, 0.0019, 0.002, 0.002, 0.0021, 0.0021, 0.002, 0.0019, 0.0018, 0.0016, 0.0014, 0.0011, 0.0008, 0.0004, 0, -0.0004, -0.0009, -0.0014, -0.002, -0.0025, -0.003, -0.0035, -0.004, -0.0045, -0.0049, -0.0052, -0.0055, -0.0057, -0.0058, -0.0058, -0.0057, -0.0054, -0.0051, -0.0046, -0.0039, -0.0031, -0.0022, -0.0012, 0, 0.0013, 0.0026, 0.004, 0.0055, 0.007, 0.0085, 0.01, 0.0114, 0.0127, 0.0138, 0.0148, 0.0156, 0.0162, 0.0165, 0.0164, 0.0161, 0.0154, 0.0143, 0.0129, 0.011, 0.0088, 0.0062, 0.0033, 0, -0.0036, -0.0074, -0.0115, -0.0156, -0.0199, -0.0241, -0.0282, -0.0322, -0.0359, -0.0391, -0.042, -0.0442, -0.0458, -0.0466, -0.0465, -0.0455, -0.0435, -0.0405, -0.0364, -0.0312, -0.025, -0.0176, -0.0093, 0, 0.0101, 0.021, 0.0324, 0.0442, 0.0562, 0.0682, 0.0799, 0.091, 0.1014, 0.1107, 0.1187, 0.125, 0.1294, 0.1317, 0.1315, 0.1287, 0.1232, 0.1146, 0.1031, 0.0884, 0.0706, 0.0499, 0.0263, 0, -0.0287, -0.0593, -0.0916, -0.125, -0.1589, -0.1928, -0.2259, -0.2575, -0.2868, -0.3132, -0.3357, -0.3536, -0.366, -0.3724, -0.372, -0.3641, -0.3483, -0.3242, -0.2915, -0.25, -0.1998, -0.1411, -0.0743, 0, 0.081, 0.1678, 0.2591, 0.3536, 0.4495, 0.5453, 0.6388, 0.7282, 0.8113, 0.8858, 0.9494, 1)', fill: 'both' });
```

## In a vawe page

```js
import { easeInElastic } from '../../core/motion/curves.js';
import { curveToLinear } from '../../core/motion/springs.js';

const easing = curveToLinear(easeInElastic, { tolerance: 0.002 }); // the linear() string above
const x = easeInElastic(u);                                         // per-frame code, u in 0..1
```

## Use for

- A charge-up before a release, shown on one element.

## Avoid for

- Entrances and exits that must read cleanly: the element swings before it moves.

## Related

- [easeOutElastic](https://vawe.dev/easing/ease-out-elastic)
- [easeInOutElastic](https://vawe.dev/easing/ease-in-out-elastic)
- [carry](https://vawe.dev/easing/carry)
- [easeInExpo](https://vawe.dev/easing/ease-in-expo)
- [easeInBack](https://vawe.dev/easing/ease-in-back)
- [easeInQuint](https://vawe.dev/easing/ease-in-quint)
- [All easing functions](https://vawe.dev/easing)
