Airfare is based on the airline's calculation of what they bet you'd be willing to pay for that route. For this reason, the data from Google Flights shows that nonstop fares are 20% more expensive on average than an itinerary with stops. In short, if you take the layover, you'll likely save some money.