# easeInOutQuad: CSS cubic-bezier and linear() easing

> easeInOutQuad as CSS: cubic-bezier(0.46, 0.02, 0.55, 1), the exact 41-point linear() string, and a live demo to copy. It is 50% done at 50% of the time.

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

easeInOutQuad reaches 50% of its travel at 50% of the time and 90% at 78%. Its peak speed is 2x the average.

It is slow at both ends and fast in the middle. A mild, even curve.

| Measure | Value |
| --- | --- |
| Role | Move |
| Reaches 50% of its travel at | 50% |
| Reaches 90% of its travel at | 78% |
| Peak speed | 2x the average |

## CSS cubic-bezier

```css
cubic-bezier(0.46, 0.02, 0.55, 1)
```

## Web Animations

```js
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'linear(0, 0.0013, 0.005, 0.0113, 0.02, 0.0313, 0.045, 0.0612, 0.08, 0.1013, 0.125, 0.1513, 0.18, 0.2113, 0.245, 0.2813, 0.32, 0.3612, 0.405, 0.4513, 0.5, 0.5488, 0.595, 0.6387, 0.68, 0.7188, 0.755, 0.7888, 0.82, 0.8488, 0.875, 0.8988, 0.92, 0.9388, 0.955, 0.9688, 0.98, 0.9888, 0.995, 0.9988, 1)', fill: 'both' });
```

## In a vawe page

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

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

## Use for

- Moves between two resting positions: camera pushes, slides and loops.
- Small UI changes and hover states.

## Avoid for

- Quick UI feedback under 200 ms: the slow start delays the response.
- Hero moves: the stop is too soft.

## Related

- [easeInQuad](https://vawe.dev/easing/ease-in-quad)
- [easeOutQuad](https://vawe.dev/easing/ease-out-quad)
- [glide](https://vawe.dev/easing/glide)
- [ease-in-out](https://vawe.dev/easing/ease-in-out)
- [easeInOutSine](https://vawe.dev/easing/ease-in-out-sine)
- [settle](https://vawe.dev/easing/settle)
- [All easing functions](https://vawe.dev/easing)
