Calculate probability as a fraction