# easeInOutSine in CSS: cubic-bezier(0.36, 0, 0.64, 1)

> easeInOutSine as CSS: cubic-bezier(0.36, 0, 0.64, 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-sine
Last updated: 2026-11-04

easeInOutSine reaches 50% of its travel at 50% of the time and 90% at 80%. Its peak speed is 1.57x the average.

It is slow at both ends and fast in the middle. The gentlest family: the speed changes slowly.

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

## CSS cubic-bezier

```css
cubic-bezier(0.36, 0, 0.64, 1)
```

## Web Animations

```js
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.36, 0, 0.64, 1)', fill: 'both' });
```

## In a vawe page

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

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

## Use for

- Moves between two resting positions: camera pushes, slides and loops.
- Ambient loops, slow camera drift and background layers.

## Avoid for

- Quick UI feedback under 200 ms: the slow start delays the response.
- Moves that must hit hard: the stop is too gentle.

## Related

- [easeInSine](https://vawe.dev/easing/ease-in-sine)
- [easeOutSine](https://vawe.dev/easing/ease-out-sine)
- [glide](https://vawe.dev/easing/glide)
- [ease-in-out](https://vawe.dev/easing/ease-in-out)
- [easeInOutQuad](https://vawe.dev/easing/ease-in-out-quad)
- [settle](https://vawe.dev/easing/settle)
- [All easing functions](https://vawe.dev/easing)
