The formula is (t x 1)/(p x 1 x 1), up to t devices.