Web platform features explorer

calc() keywords

The e, pi, infinity, and NaN keywords represent well-defined constants accepted in CSS math functions such as calc().

Status

Baseline Newly Available (since 2023-06-06)

This feature is expected to reach Baseline Widely Available status on: 2025-12-06

MDN documentation

Browser support

  • Chrome 110 Released on 2023-02-07
  • Chrome Android 110 Released on 2023-02-07
  • Edge 110 Released on 2023-02-09
  • Firefox 114 Released on 2023-06-06
  • Firefox for Android 114 Released on 2023-06-06
  • Safari 16 Released on 2022-09-12
  • Safari on iOS 16 Released on 2022-09-12

Usage (according to Chrome Platform Status)

~0.311% of page loads. More data at chromestatus.