Is it worth your time to vote? You might be surprised to learn that your vote may be worth hundreds of thousands of dollars.

This goes against our intuitive assumptions. Indeed, many claim that voting is an irrational act because the chance of actually influencing an election is very small. But those claims are not looking at the math. To calculate the value of a vote we can take a probabilistic thinking approach that considers the likelihood of influencing an election and the possible impact of doing so, and multiplies them together.

Research shows that individual voters in an election that is not very close have an average of 1 in 60 million chance of being the decisive vote, and closer to 1 in 10 million for swing states. In a closer election, such as the 2016 one, scholars found that the average voter has a 1 in 10 million chance of being decisive, and 1 in a million for swing states.

This does not seem very high—until you consider the federal budget. In 2015, the federal budget was $3.8 trillion. Assuming the same budget over the four years of a presidency, the next U.S. President would influence 4 X $3.8 trillion = $15.2 trillion.

How much of a difference is there between the way that Hillary Clinton and Donald Trump would spend this money? They have radically different policy approaches. We can estimate that they differ on how they would spend at least 75% of this money. Thus, the difference would be $15.2 trillion X 0.75 = $11.4 trillion. You can plug in your own numbers, of course, if you think they differ by more or less than 75%.

While candidates make big promises about their policies, they often have difficulties enacting their agenda once they get into office. To account for this, we can make a guesstimate of how much of their policy the candidates would be able to enact. For the purposes of this calculation, let us assume they would be able to enact only one-third of what they actually wanted. So we would multiply $11.4 trillion X .333 = $3.8 trillion. Again, you are welcome to use your own numbers here.

We can now evaluate how much your vote matters in federal budget dollars. Since this election looks close, we will multiply the probability of an average American’s vote making a difference in a close election, one in 10 million, by the amount of money at stake in this election, $3.8 trillion: 1/10 million * $3.8 trillion = $380,000. For a swing state, your vote makes an even bigger difference: 1/million * $3.8 trillion = $3,800,000.

These numbers, of course, only capture the aspect of your vote that relates to the federal budget. There are many other less tangible but not less important voting outcomes. For instance, the next President will appoint a new Supreme Court justice, which will make a big impact. Another factor to consider is social policies.

To account for these, you can add a modifier to the more concrete numbers for the federal budget. For instance, if you see these non-budget factors as about 75% as important, your modifier would be 1.75. That makes the value of a vote for an average American $380 * 1.75 = $664,000 and $6,640,000 for one in a swing state. You are welcome to set your own modifier.

With these calculations, your vote could total in the hundreds of thousands. Of course, this money will be distributed over the American population, and not go into your own pocket. If you only care about your own interests, without any concern for the welfare of others, you may choose to avoid voting. However, if you care about other people and not only yourself, voting makes rational sense, as research demonstrates.