Added ratio calculator