Why log transforms help

A log transform compresses large values more than small ones. That makes right-skewed data easier to inspect and sometimes easier to model.

In multiplicative data, equal steps on the log scale correspond to equal ratios in the original scale.

This is useful when raw values span several orders of magnitude, such as population counts, concentrations, or signal strengths.

Input tips

  • Every input must be strictly positive because log(x)log(x) is undefined for zero or negative values.
  • Base 10 is common for scale interpretation, while ln(x)ln(x) is common in calculus and statistics.
  • Compare the variance before and after transformation to see how much the spread was compressed.