Prepair price calculation logic