2026-07-30

Redirecting Taxable investments to Roth 401k

Introduction

This applies to those in the USA who

  • have access to an After-tax 401k contribution with instantaneous in-plan conversion to Roth 401k, aka, Mega Back Door Roth (MBDR)
    • already contribute up to the IRS maximum to the pre-tax/Roth 401k sources 
  • have a taxable brokerage account with sufficient assets that can be leveraged to facilitate the MBDR.

Usually most people set their retirement contributions such that their net pay covers living expenses with possibly some left over for savings / emergency fund. Assuming one is already maxing out contributions to tax-advantaged retirement accounts (to the extent allowed by the tax code) and has accumulated a non-trivial amount of investments in a taxable brokerage, the question naturally arises:

Does it make financial sense to take advantage of the MBDR even if it means that one has to draw down on the taxable brokerage to fund expenses?

2026-01-31

Comparing mortgages for buying or refinancing a house

Questions that come up in scenarios related to buying or refinancing a home:

  1. Is mortgage A better than mortgage B?
    • Each mortgage may be amortized over a different duration (e.g., 15 vs. 30 years)
  2. Given that I'm part-way through mortgage C, should I refinance to mortgage D?
Setting aside the emotional aspects, there is almost always a clear answer based on the Net Present Value (NPV) calculation of the cashflows related to the principal, interest, and loan fees.

For question #1, the Loan Estimate document would include an APR value that can be the basis for a comparison if the loan durations being compared are identical. It's not immediately obvious how to use the APR to compare loans of different durations. Also, the APR cannot be used to answer question #2 related to a refinance.

Sometimes the total (undiscounted) cashflow of interest payments over the span of the loan is used for the comparison, but as you'll see below that may give you the wrong answer.

I've made available a Mortgage Comparison Template.ods file that implements the calculations referred to in this post.

Discount rate

For the NPV calculation you'll need an appropriate discount rate (aka, opportunity cost). This would be the expected gains on an investment that you'd funnel your cash into if you didn't have to pay the mortgage.

I use a conservative 7.1 %/year (nominal rate which includes inflation).

If your investments are more aggressive, then a nominal rate of 9-10 %/year may be a reasonable choice.

Buying a house

Inputs needed:
  • Starting principal
  • Interest rate (%/year)
  • Amoritization duration (years)
  • Amortization period (usually monthly; to wit 12 periods/year)
  • Loan fees (origination fees, title/insurance/deed fees, recording fees, etc.)
    • Do not include any escrow amounts for home insurance and/or property taxes as they are not pertinent to the cost-benefit analysis
Set-up your amortization table for each mortgage and then calculate:

Present value of the loan =
NPV of cashflows for principal +
NPV of cashflows for interest +
Loan fees

Choose the loan that has the lowest present value. That's it.

2025-10-19

One Image Summary of Quantum Mechanics

Spherical Cow in a Simple Harmonic Potential
A 'Spherical Cow' in a Simple Harmonic Oscillator Potential is pretty much Quantum Mechanics in a nutshell.

Image generated using ChatGPT-5 on 2025-Oct-19.