Your landlord is building equity with your rent check.
Enter what you pay now and what the building would cost. See what you'd own by the age you want out, what renting costs you over the same years, and which one leaves you richer. The tax angle of paying rent to yourself is the part nobody shows you.
The number that moves this most is the structure: who owns the building, what your practice pays it, and how fast you write it off. That's the roadmap conversation.
Estimate. Loan amortized monthly. Ownership cost includes taxes, insurance, and maintenance at the percentage entered, with mortgage interest and those costs treated as deductible at your rate. Depreciation, cost segregation, and the rent your practice pays to your own entity are not modeled here and usually make the buy case stronger. Not tax advice for your situation.