Pharmacist Retirement Calculator: Balance Student Loans and Retirement Savings
Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.
Created by Luis Gonzalez · Last updated September 10, 2026
A pharmacist’s retirement plan has to account for both long-term investing and the cash flow needed to repay student loans. This calculator estimates your retirement balance and income from your age, salary, savings rate, investment returns, spending target, Social Security estimate, and loan details. Its results include projected retirement balance, monthly income, income shortfall, estimated loan payoff age, and total loan interest.
The default projection estimates a retirement balance of $3,939,841.34 at age 65. It estimates $100,000 in first-year portfolio withdrawals and $0 of income shortfall in today’s dollars. The loan inputs produce an estimated payoff age of 42 and $66,247 in total interest. These are model outputs, not guarantees; they depend on the assumptions entered and the calculator’s simplified treatment of returns, contributions, and debt payments.
For a broader savings benchmark, compare the result with a retirement savings by age guide and a retirement number estimate. If you want to test an earlier retirement date, use the FIRE calculator.
What To Enter For A Useful Estimate
Enter your current age, intended retirement age, and life expectancy. The years between your current age and retirement determine the accumulation period; the years after retirement determine how long the model tests income and withdrawals.
Add your current salary, expected annual salary growth, retirement savings, and annual savings rate. The calculator applies the savings rate to projected salary each year. Enter pre-retirement and post-retirement investment returns separately: a portfolio may earn different average returns during saving and withdrawal periods.
Set your desired retirement income and Social Security start age and estimate. The income field is a target in today’s dollars, while the calculator increases future spending and Social Security using its inflation assumption. For a separate estimate of benefits, use the Social Security calculator.
Finally, enter student loan balance, interest rate, and monthly payment. These debt inputs affect the displayed loan payoff and interest estimates. The retirement projection does not subtract loan payments from the annual savings contribution, so model your actual budget separately if your loan payment reduces how much you can invest.
The Default Projection, Step By Step
The default inputs are age 30, retirement at 65, salary of $130,000, salary growth of 3%, savings of $10,000, annual savings rate of 15%, and a 7% pre-retirement return. The calculator’s first projection year starts with the current balance, applies investment growth, then adds that year’s savings.
The first year’s contribution is:
Annual savings = current salary × annual savings rate
Annual savings = $130,000 × 15% = $19,500
The result card shows a projected balance of $3,939,841.34 at retirement. Each year, the calculator grows the balance by the assumed return and adds that year’s contribution. Salary and, therefore, the contribution rise by 3% annually under the default assumptions.
For the retirement phase, the first-year income target is $100,000. Social Security begins at age 67 in the default case, so it does not reduce the age-65 first-year withdrawal in the calculator’s model. The monthly target is:
Monthly retirement income = annual target ÷ 12
Monthly retirement income = $100,000 ÷ 12 = $8,333.33
The default income shortfall is $0 in today’s dollars. The model also estimates 25 years of retirement income through the assumed life expectancy of 90. Treat that duration as a projection under the entered return and inflation assumptions, not a promise that the portfolio will last exactly that long.
Student Loans Versus Investing
Student loan repayment competes with retirement contributions for monthly cash flow. Paying down a loan gives a relatively predictable benefit by reducing future interest; investing has uncertain returns but may compound for decades. The right balance depends on loan interest, repayment protections, employer benefits, tax treatment, and the time until retirement.
The default loan balance is $150,000, at 6.5%, with a $1,600 monthly payment. The calculator estimates payoff at age 42 and total interest of $66,247. It also estimates $1,628,174 in potential additional retirement savings in a separate “without loans” comparison. Do not treat that difference as guaranteed savings from paying the loan off sooner: it is a model comparison, not a full cash-flow plan that reallocates each payment to investments after payoff.
Before making extra payments, check whether you qualify for federal repayment plans or forgiveness. The U.S. Department of Education explains federal repayment and forgiveness options at StudentAid.gov. Compare the guaranteed value of reducing high-interest debt with the uncertain expected return on investments. If you contribute to a workplace plan, check whether your employer match depends on your own contributions; a match may change the order of priorities.
A debt payoff plan can also be tested separately from retirement saving. Compare the retirement projection with a 401(k) withdrawal estimate only when planning future withdrawals, and use a retirement income calculator to examine other income streams. A 403(b) calculator may help if your pharmacy employer offers that plan.
Formulas Behind The Projection
The calculator models the pre-retirement balance one year at a time. It does not simulate market volatility or sequence-of-returns risk.
Annual savings = projected salary × savings rate
Next year's balance = current balance × (1 + pre-retirement return) + annual savings
Salary is increased by the salary growth rate for the next year. The retirement income target and Social Security estimate are increased by inflation in the relevant years. The first-year portfolio withdrawal is the inflation-adjusted target minus Social Security income available at that age, with a minimum withdrawal of zero.
Portfolio withdrawal needed = max(0, inflation-adjusted income target - Social Security income)
Loan interest is approximated annually on the remaining loan balance. The calculator subtracts the estimated interest from the annual loan payment to estimate principal reduction. Real loans typically accrue interest more frequently and may have different payment timing, fees, or repayment rules, so use your servicer’s amortization schedule for an exact payoff plan.
Assumptions That Can Change The Answer
| Change from the default | What to enter | Likely effect on the estimate |
|---|---|---|
| Save a smaller share of salary | 10% rather than 15% | Lower projected retirement balance |
| Retire earlier | Age 60 rather than 65 | Fewer years of contributions and more years of withdrawals |
| Use a lower pre-retirement return | 5% rather than 7% | Lower projected balance |
| Start Social Security later | Age 70 rather than 67 | More portfolio withdrawals before benefits begin; benefit timing itself is not fully recalculated by this calculator |
These are direction-of-change comparisons, not new calculator outputs. Enter each scenario separately to obtain the result for your own assumptions. A lower expected return is not necessarily a forecast; it is a way to test how much your plan depends on strong investment performance.
Limits, Taxes, And Other Income
The calculator’s retirement balance is not an after-tax spending amount. Withdrawals from traditional tax-deferred accounts are generally taxable as ordinary income, while qualified Roth withdrawals can receive different treatment. It does not calculate federal or state taxes, health insurance, Medicare premiums, investment fees, or tax effects of loan interest. Read about tax-efficient retirement account withdrawals and test withdrawal scenarios with the retirement withdrawal calculator.
For 2026, the employee elective deferral limit for a 401(k), 403(b), or most 457(b) plans is $24,500. The general age-50 catch-up is $8,000, and the SECURE 2.0 super catch-up for ages 60–63 is $11,250, subject to plan rules. The IRA contribution limit is $7,500, with a $1,100 catch-up for eligible savers age 50 or older. The model does not enforce these contribution limits, so verify that your entered savings fit the applicable rules. See current IRS retirement plan information at IRS.gov.
A pension, annuity, or part-time work could reduce portfolio withdrawals, but those sources are not separately included in the calculator’s listed inputs. Estimate them with a pension income calculator or retirement annuity calculator. For a withdrawal strategy, compare withdrawal order options and test a tax-efficient retirement withdrawal strategy.
Next Steps
Run a conservative case with lower returns, higher inflation, and a longer life expectancy. Then compare the result with your actual student loan repayment schedule, employer match, pension eligibility, and expected healthcare costs. A separate retirement needs estimate can help turn the income target into a spending plan.
Frequently Asked Questions
Quick answers to the questions people usually have after running the retirement calculator.
1Does a high pharmacist salary guarantee a secure retirement?
No. A high salary can support larger contributions, but debt payments, spending, savings rate, investment returns, and retirement age determine how much may be available. Test different contribution rates and retirement dates rather than relying on salary alone.
2Should I pay off student loans before investing for retirement?
Not always. Compare the loan’s effective interest rate and repayment options with the value of employer matching and the uncertain return on investments. Paying high-interest debt faster reduces interest, while contributing enough to receive an available employer match may be valuable; the calculator does not decide which choice is best for your personal situation.
3Does the calculator subtract my student loan payment from my savings?
No. It estimates loan payoff and interest, but the retirement balance calculation adds the selected savings rate without reducing it by loan payments. If the payment limits your actual contributions, lower the savings rate to reflect your cash flow.
4Is the projected balance adjusted for inflation?
The result is a nominal future-dollar balance. The calculator uses inflation to increase retirement spending and Social Security in its retirement projection, but the projected balance itself should not be read as today’s purchasing power.
5What does “money lasts” mean here?
It is the number of modeled retirement years before the calculator’s withdrawal simulation reaches its depletion condition. Actual results can differ because investment returns vary, spending changes, and taxes and healthcare costs are not fully modeled.
6Should I use a 5% or 7% investment return?
Use more than one assumption. A lower return creates a more cautious test, while a higher return may show an optimistic case. Neither is guaranteed; the right return depends on asset allocation, fees, inflation, and market conditions.