Comparative negligence is a legal doctrine that assigns a percentage of fault to each party involved in a legal matter. The doctrine applies when multiple parties contribute to causing an injury or loss and may have partial responsibility for the outcome of the injury or loss.