The formula for Sensex calculation is – (total free-float market capitalization/ Base market capitalization) * Base index value.
The base year used is 1978-79 and the base value is 100.