Valve sizing calculator