Calculate how much you'd pay in taxes if you paid the same rate as Donald Trump

Here's an amusing piece of "editorial code" at Hillary Clinton's campaign site: "We've developed a formula to calculate how much you would pay in taxes if you paid the same as Donald Trump."