Previously, the cost of Uber rides was calculated based on factors such as miles traveled and time. Passengers were charged accordingly at the end of the ride, and Uber passed along 80% of the fare to drivers, keeping 20% for itself.
Source: Los Angeles Times February 19, 2018 21:00 UTC