Tithis are calculated by dividing the 30-day lunar cycle into 15 equal parts, with each tithi spanning approximately 1.92 days.