Quick answer: take the taxable estate, subtract $5,000,000, multiply the rest by 16%. Run your own numbers in the Maryland estate tax calculator.
Line 9, straight from the actual return
A second, older calculation runs alongside it
Schedule B computes a separate credit using a decades-old federal state-death-tax-credit table (originally from IRC §2011, before Congress phased that credit out), applied to the FULL adjusted taxable estate rather than just the amount over $5,000,000. The actual Maryland estate tax owed is the lesser of the line-9 figure and this Schedule B figure — but for the overwhelming majority of estates, the straightforward 16%-of-excess number from line 9 is already the smaller, binding one.
The exemption doesn't move anymore
Maryland's exemption finished a five-year phase-up to $5,000,000 for deaths in 2019 and later, and unlike the federal exemption, it isn't indexed for inflation — it has stayed exactly at $5,000,000 ever since.
A local probate attorney can review your estate — many offer a free consultation.
The return is due 9 months after death, the same deadline as the federal Form 706, and any Maryland inheritance tax already paid can offset the estate tax bill on line 11 of the return.