I'm only here for the arguments 😀
I think the simplest way is to express your commute as a %age of the time you spend "not-not-working". Which is the time you don't have to do anything you want to.
So if you work (say) 40 hours a week, and your "commute" is an hour each way, so 2 hours a day, then for a 5-day in office week, that's 10 hours over your 40 or 25%.
I leave it to you to decide if that is acceptable, do-able, or desireable.
One thing I learned about how dim people are, is when I started treating that 25% time as being as precious as the 40 hours it was wrapping around. Because in the 1990s nobody could get that. Especially if not in particular recruiters. Yes, that job that you are going to get a wedge of commission for filling may pay £10,000 a year extra. But the 10 hours a week (so 480 hours a year) of my time that I lose happens to be worth £20,000 to me.
Yes, I'm odd.
In the afternoon of my life, my bugbear is long commutes that shouldn't be. I mean if it takes you over an hour to do 10 miles (which isn't rare around the Midlands) then something somewhere is somehow fucked up. Luckily us tech nerds can WFH. Which then affects the calculation I suggested. 2 days from home give you a "commute" of a mere 6 hours over 40, or 15%. Possibly less if you don't need to doll up to WFH.