How were Donald Trump's tariffs calculated?

Analysts have questioned claims that new tariffs are reciprocal and based on those charged against the US.