The ratio of the dose of a drug required to produce a therapeutic effect to the dose that causes toxicity.