Deciding when the time is right to get married has an emotional element, but there’s also a financial side to consider. Merging your finances with your significant other requires some planning when it comes to things like setting up a household budget, saving for the short- and long-term, buying a home, and paying down individual or joint debts.

Age can also play a part in the decision-making process. Whether getting married earlier makes sense versus waiting until later depends on your financial goals and overall money situation. If you’re planning to tie the knot, here are some important things to weigh in the balance.

The chart below shows the median age of first marriages by gender from 1890 through 2018.