I know simple math, thank you. As I pointed out in the other reply, the rate of assult to US police, who are armed and more hostile to you is only about 25% lower than UK police where the majority of them don't carry a firearm. Actually we don't know the proseuction rate so we don't even know it's that lower.
Now, do some division. That's ~1 assault on a LEO per 2990 people in the US and ~1 assault on a LEO per 2100 people in the UK.
So assaults on LEO per capita are 26% greater in the UK.
Of course, it is also important to look at the number of LEOs in each state (in the sense of country, not US state).
From [0] there are ~686000 LEO in the US, or 1 per 479 people. From [1], there are ~123000 LEO in the UK, or 1 per 512 people.
So there are 6% fewer LEO per capita in the UK than the US, but the assaults on LEOs happen 26% more often per capita.
So how is it more dangerous in the US again?
[Edit: forgot sources! my bad.]
[0] https://www.statista.com/statistics/191694/number-of-law-enf... Actually, https://www.bls.gov/ooh/protective-service/police-and-detect... suggests 808,000 LEO in the US, which makes the per-capita LEO even higher in the US. Population data is hard.
[1] https://fullfact.org/crime/police-numbers/