Toxicity is measured using various methods and assays, such as in vitro assays and in vivo assays. In vitro assays involve testing the effects of substances on cell cultures, while in vivo assays involve testing on live organisms. These methods help determine the dose-response relationship, which illustrates the correlation between the dose of a substance and the extent of the toxic effect observed.