<log>
Widely availableSince 202394% of users
Logarithm function. Finds the power to which a base must be raised to equal a number.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since December 2023. Widely available since June 2026.
See how modern your own CSS is.Check your CSS →
Quick example
.size { width: calc(100% * log(2)); }<log> browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.Safe to use without fallbacks.
Usage94%of people can use this6% use a browser without it.
Browsers
120+
118+
15.4+
120+Mobile
120+Android
118+Android
15.4+iOS