Bin Size Calculator
Calculate optimal histogram bins mathematically.
Sturges' Rule
1 + 3.322 * log10(N)
Best for normal distributions and N < 200.
Square Root
ceil(sqrt(N))
Common in Excel. Often over-smooths large datasets.
Rice Rule
2 * cbrt(N)
Better for large datasets than Sturges'.