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.