Formula for Calculating Related Service Cost