editione1.0.1
Updated August 7, 2023You sell your time to your employer in exchange for money in the form of a salary. That might sound weird at first, but this is true for most people who work for a living. For people earning an hourly wage, itβs pretty straightforward: The number of hours they work directly correlates to the amount of money they make. More hours equal more money.
βexampleβLetβs look at some numbers:
Hourly wage: $50 per hour
Earnings per week: 40 hours x $50 per hour = $2,000 per week before taxes
Earnings per year: 52 weeks x 40 hours x $50 per hour = $104,000 per year before taxes
Pretty simpleβmore hours worked equal more money earned. For people on a salary, however, itβs a bit different. You and your employer agreed to a predetermined salary, usually on an annual basis, when you signed your employment agreement. If youβre on a salary, youβre not paid directly for the number of hours you work, but youβre expected to put in a certain amount of work and produce a certain amount of output.
βexampleβLetβs assume a 40-hour workweek:
Earnings per year: $104,000 before taxes
Earnings per week: $104,000 / 52 weeks = $2,000 per week before taxes
Hourly wage: $104,000 / 52 weeks / 40 hours = $50 per hour
On a $104K annual salary and assuming a 40-hour workweek, an hourly employee and a salaried employee will earn the same amount. But unlike someone earning an hourly wage, if youβre on a salary and work longer workweeks in order to meet deadlines, the numbers arenβt in your favor.
βexampleβLetβs look at what happens if you work a 50-hour week on the same salary:
Earnings per year: $104,000
Earnings per week: $104,000 / 52 weeks = $2,000 per week
Hourly wage: $104,000 / 52 weeks / 50 hours = $40 per hour
And what about working a 60-hour week?
Hourly wage: $104,000 / 52 weeks / 60 hours = $33.33 per hour
While there are many benefits that come with a salary, the reality is that your income for the year is fixed, which means youβll be paid the same regardless of how many hours you work. Unlike an hourly wage, more hours do not equal more money. In fact, more hours equal less money on a per-hour basis. Itβs not because youβre earning less, but because youβre using more of your time to earn the same amount.
βcautionβ Just to be clear, Iβm not advocating for slacking off or working as little as possible to maximize your earnings per hour. My goal is simply to illustrate the relationship between salary and hours worked per week so that you are more conscious about how they affect each other. Knowing this will hopefully encourage you to work smarter when you are in the office so that you can avoid long nights and weekends when you need to hit a deadline.
In some cases, however, you may have no choice but to put in extra hours. As programmers, we deal with issues when our software fails, and it can fail at any time. You may get a phone call or a chat notification that the server is down, and youβll need to hop on the computer in the middle of the night to help get the server back online. Or you may be working on a big project and need to have a working demo before an investor meeting, so you may have some long nights during crunch time. Lastly, you may need to work long nights and weekends so you donβt get fired. If you canβt get your work done during normal business hours, your job may be at risk.
There are a number of good reasons why you should work more than 40 hours a week, and everyoneβs situation is different, so itβs something youβll need to figure out on your own. Itβs okay to work long hours every now and then, but when you find yourself working long hours week after week, it will start to affect your work-life balance.
Itβs important to be aware of when your work starts to affect your personal life. If youβre canceling plans with friends or family, havenβt taken any time off in months, or havenβt been able to find any time for your hobbies because youβre too busy with work, try to take a step back and reflect on your work-life balance.
βimportantβ Your job does not define your life.
We program for a living, but that doesnβt mean we should be coding all day every day to earn that living. Itβs important to create a life outside of work for your own mental health, and to build relationships you can lean on if needed.
You werenβt meant to stare at a screen your whole life. There are plenty of benefits to getting away from the computer and unwinding in the analog world, and in the end, youβll want to look back on your life and the incredible memories you made, not that you wrote the perfect algorithm or solved a tough programming problem for your employer.
Itβs good to focus on increasing your salary early in your career, but youβll soon realize that with a higher salary comes greater responsibility. Youβll be responsible for keeping projects on schedule, keeping systems up and running, and keeping your teamβs throughput high so that they can continue to ship code to production, and so much more. A lot of these responsibilities donβt involve any coding, and some of them will involve sitting in more meetings and spending more time planning and writing feature specs and bug reports. You may have long nights and weekends rotating as the on-call engineer, or triaging and fixing bugs in the middle of the night.
The responsibilities that come with a higher salary are not the most glorious parts of being a programmer, and not everyone is cut out for them. You may not like doing these things, but youβll justify it because the pay is so good. Whatβs important to realize though is that higher pay does not always bring happiness. Whatβs the point of sitting in meeting after meeting if youβre not happy at the end of the day? Is it worth the higher salary if youβre missing out on experiences with friends because you have too much work?
At some point, youβll need to decide whatβs best for yourself and your mental health. Youβll need to find a balance between your work life and your personal life, and that may mean taking a lower salary if it means youβll be happier and have more time to spend with friends and family. Or it may mean that you stick to the individual contributor route rather than the manager path so that you can continue to write code. Itβs up to you to figure out what makes you happy.
Youβll need to decide if itβs really worth it to spend late nights in the office, or if youβd be happier with less responsibility and the freedom to head home earlier in the day. Again, itβs okay to work late hours occasionally if it means keeping an important project on schedule, but if you find yourself working late week after week, even when there are no upcoming project deadlines, you may want to step back and ask yourself if that is really what you want.
A common misconception is that the more hours you spend in the office, or working from home late at night, the more work youβll get done. While it may feel this way, it can actually have the opposite effect and lead to a negative impact on the quality of your work.
Working longer has diminishing returns, because at some point your brain will hit a wall where youβll start to drift and lose your ability to focus. A 60-hour workweek is not the same as two 30-hour workweeks. While it may feel like youβre getting more done in half the time, it may be lower-quality work.
Instead, focus on working smarter and more efficiently during your workweek so you can get all your work done in 40 hours. Distractions and context switching can kill your productivity.