Tab calculator