Cost per hour is simple: price divided by the hours you expect to play. It becomes misleading when you compare games of different types, or when you assume you will finish everything you buy.
Hours are personal
How-long-to-beat figures are averages from other players. Your pace may be very different, especially in open-world games, RPGs and anything with side content. Treat the number as a range, not a promise.
Compare within a genre
A six-hour action game and a six-hour RPG are not the same purchase. Cost per hour is most useful when the games are similar in structure and length.
Cheap is not the same as good value
A three-dollar game you abandon after an hour costs more per hour than a thirty-dollar game you finish. What matters is the time you actually spend, not the time the store page promises.
Use it as a check, not a verdict
Cost per hour helps you compare two games you are already interested in. It cannot tell you whether either one is any good, and it should never be the only reason to buy.
Time is the real budget
If your backlog is already long, a cheap game that will sit unplayed has a real cost: the attention you could have given to something you actually want to play.