[Greece tourist selfie]REUTERS/Cathal McNaughton You sit in your cubicle, staring out the window into the cold, gray, February abyss. But before you get ahead of yourself and book that pricey villa in Tulum you've been eyeing since December, pay heed to one key word here: Plan. You don't want to get back from a week of floating in the Caribbean only to drown in credit card debt for the rest of 2017. Luckily, the responsible savers at Frugal Fringe created a labor cost calculator, so you can figure out exactly how many hours you need to work in order to afford your next getaway. You can try the calculator for yourself here, but it's not the easiest to use, so let us walk you through it first. What this calculator lacks in simplicity it makes up for in accuracy. It factors in everything from local taxes to your commute time. Here's how to use it. [labor calculator how to]REUTERS/Cathal McNaughton FIRST, ENTER YOUR ANNUAL GROSS SALARY. That's your total income before taxes. For the sake of this demonstration, let's say you're making $80,000 a year. NEXT, FIND YOUR TOP MARGINAL FEDERAL TAX RATE. Taxfoundation.org lists the tax bracket that applies to you based on your income and marital status. Let's say yours came out to 25%. NOW, ADD YOUR TOP MARGINAL STATE AND LOCAL TAX RATES. You can find these rates based on your location here. Let's say you live in Brooklyn. You would add the 2017 New York State marginal tax rate with the city tax rate and get a combined 8.875%. CALCULATE YOUR TOTAL HOURS WORKED PER YEAR. The average American works 1,790 hours each year. Let's say you're one of them. COUNT THE NUMBER OF HOURS YOU SPEND COMMUTING PER YEAR. It takes the average American 26 minutes to commute to work every day, according to the U.S. Census Bureau. If you work five days a week, 50 weeks a year, that comes out to about 216.7 hours. Depressing, right? No wonder you need a vacation. FINALLY, INPUT THE TOTAL COST OF YOUR DREAM VACATION. You'll need to factor in round-trip flights, hotel stay and spending money for food and drinks, activities, taxis or a car rental and shopping. Let's say your Mexico dreams are cashing in at about $4,000. AND GO. You'll need to work 171.59 hours to pay off that trip. If you work eight hour days, that's about three weeks of work for your five-day trip. That may sound kind of sad, but hey, quit sulking and get back to work. The beach is waiting. NOW WATCH: Here are all the musicians who declined to perform at Trump's inauguration so far