The figures are estimates, and we would rather say so than dress them up. This is exactly how they are made, so you can judge them for yourself.
We take the straight-line (great-circle) distance between the two airports, add 5% for the fact that aircraft never fly a perfect straight line, divide by a typical cruise speed for the type of aircraft, and add 18 minutes for taxi, take-off, climb, descent and approach. Then we round to the nearest five minutes.
Real aircraft within each group vary quite a bit, so treat these as the middle of the range.
The wind on the day, the routing and altitude air traffic control gives you, holding or delays, and any fuel stop. A westbound flight against the jet stream can take noticeably longer than the figure here. Check that your aircraft can fly the sector non-stop before you rely on the time.
Very short hops are the least reliable, because the fixed 18 minutes is a bigger share of the total. If you think a figure is out, tell us.