revenue-calculation