Index formula