<log>

Logarithm function. Finds the power to which a base must be raised to equal a number.

Quick example

.size { width: calc(100% * log(2)); }

<log> Browser Support

Widely availableSince 202358% global usage

This 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.

120+
118+
15.4+
120+
ESC