delivered-the opinion of the Court.
Upon a complaint filed by the Birch Valley Lumber Company against carriers by rail engaged in interstate commerce, the Interstate Commerce Commission' determined that rates maintained by the carriers were unduly prejudicial to the complainant and unduly preferential to its competitors, but that the record would not support an award of damages. Thereupon the complainant sued in the Supreme Court of the District of Columbia for a writ of mandamus commanding the Commission to make an award of damages in accordance with a stated formula. The4 Court, of Appeals, reversing the determination of the lower court, held that the writ should issue.
The complainant before the Commission, the respondent in this court, is a lumber company engaged in business at Tioga, West Virginia. Transportation service to and from Tioga is supplied by the Strouds Creek and Muddlety Railroad Company (the S. C. & hi.), a short line railroad running from Delphi, West Virginia, to Ailing-dale in that state, a distance of nine and a half miles. The terminus of this road at Allingdale is a junction point with the Baltimore & Ohio Railroad (the B. & 0.), and. through it with connecting lines beyond. Lumber dealers on the route of the B. & O. have had the benefit of blanket *387 or group rates established by that road' and others jointly. The complainant has had to pay the group rate, and in-addition a charge for carriage on the S. C. & M., the short line connection.' The result has been to put it at a disadvantage as compared with competitors in the same producing territory. “ Complainant,” ft is found, “ does not question the reasonableness per se of the blanket or group, rates for Allingdale or the other points in the group, but' assails only what it terms the relatively high through rates from Tioga and Delphi. It also admits that the 'charge of the S. C. & M. is not unreasonably high.” The controversy hinges upon the effect of an unlawful preference.
For rate making purposes the producing territory tributary to the B. & O. in Pennsylvania, Maryland, and West Virginia is divided into several groups. ‘ One of these grpups known as .the Richwood group has its terminus at Allingdale. So also has another group known, as number. 9. Lumber dealers competing with the complainant -do business within this territory, and pay the group or blanket rate,- which,takes no heed of distances within the group area. Cf.
United States
v.
Illinois Central R. Co.,
The Commission found that, the failure of the carriers to establish joint or group rates over the short line connections had the effect of an undue preference to lumber companies doing business within the group territory, *388 though apart from the preference the rates were not unreasonable. Accordingly it made an order directed to. the B. & O. and other connecting railroads to “cease and desist ” from the unlawful practice. There was no award of damages. “ The record,” the Commission held, “ will not support an award of reparation based on the undue prejudice -found to exist.” ¡
. The Interstate Commerce Act makes it unlawful for a carrier to give any undue or unreasonable -preference to. a person or locality, or to subject ’any person or locality to an undue disadvantage (24 Stat. 380, § 3; 41 Stat'. 479, § 405;' 49 U.S.C., § 3), and charges the óffender with liability for the full amount of damages resulting from the unlawful act. § 8. Upon the hearing of a complaint, the Commission is’ empowered to ascertain the damages and award them. § 16 (1). The respondent by its complaint to the Commission invoked this dual jurisdiction, the administrative jurisdiction to prescribe a rule for the future
(Great Northern Railway Co.
v.
Merchants Elevator Co.,
The respondent, conceding these restrictions upon the remedies, available in the courts,, professes to abide by them. The- argument is that damages were found by the *389 Commission, and after being found were arbitrarily withheld. Damages were found, it is said, -because the evidentiary facts set forth in the'findings lead to a conclusion of damage in a determinate amount, and lead to that cpnelusion as an inference of law,. Damages, -being found, were arbitrarily withheld, because discretion is excluded when the loss is ascertained. In that view, the denial of an award is the breach of a ministerial duty to be corrected by mandamus, as if a court after determining in favor of a suitor the amount of his recovery were to refuse him execution.
“The record will not support an award of repara^-, tion based on the undue prejudice found to exist.” This is not a finding that damages in the sum of $15 per car or in any other sum have been suffered by the complainant, but will not be awarded; This is a finding that upon the evidence before the Commission, which is not 'before us,. there is not a sufficient basis for a finding of any damage whatever. Nothing in the recital pf evidentiary facts is inconsistent as a matter of law with- this negation of loss. The Commission does not find, and the complainant does not assert, that the rate was unreasonable in the sense that, it would be subject to condemnation if a like rate had been charged to others similarly situated. What is unlawful in the action of the carriers inheres in its discriminatory quality, and not in anything else. When discrimination and that alone is the gist of the offense, the difference between one rate and another is not the measure of the damages suffered by the shipper.
Penn. R. Co.
v.
International Coal
Co.,
Overcharge and discrimination have very, different consequences, and must be kept -distinct in thought. When the rate exacted of a shipper is excessive or unreasonable in and of itself, irrespective of the rate exacted of competitors, there may be recovery of the overcharge without other evidence of loss./ “ The carrier ought not to be allowed to retain his illegal profit and the only one who can take it from him is the' one that alone was in relation with him, ,and from whom the carrier took the" sum.” Southern Pac. Co. v. Darnell-Taenzer Co., supra, p. 534. But a different measure of recovery is applicable “ where a party that has paid only the reasonable rate sues upon a discrimination because some other has paid less.” So. Pac. Co. v. Darnell-Taenzer Co., supra. Such a one is not to recover as of course a payment reasonable in amount for a service given and accepted. He is to recover the damages that he has suffered, which may be more than the preference or less (Penn. R. Co. v. International Coal Co., supra, pp. 206, 207), but which, whether, more or less, is something to be proved and not presumed. Ibid, p. 204. “ Recovery cannot be had unléss it is shown that, as a result of defendant’s acts, damages in some amount susceptible of expression in figures resulted.” Keogh v. C. & N. W. Ry. Co., supra, p. 165. The question is not how much better off the complainant would be today if it had paid a lower rate. The question is how much worse off it ’is because others have paid less.
The answer to that question is not independent of time and place and circumstance. It calls for something more than the use of a mathematical formula. If by reason of the discrimination, the preferred producers have been
*391
able t6 divert business that would otherwise have gone to the disfavored shipper, damage has resulted to the extent of the diverted profits. If theeffect of the discrimination has been to force the shipper to sell at a lowered market price
(Penn. R. Co.
v.
International Coal Co., supra,
p. 207;
Hoover
v.
Penn. R. Co.,
156 Pa. St. 220, 244;
' The truth of this is seen more clearly when we keep in mind the varying methods available to remove discrimination and restore, equality. The respondent’argues as if there were one method, and one only, and this by cutting down the Tioga and Delphi rates and thus reducing them to the level’ of the rates, within the group. But that is to ignore the other methods of adjustment open to the carriers. The discrimination might be removed either by cutting one set of charges down, or by lifting the other up, or by establishing a new rate intermediate between them.
United States
v.
Illinois Central R. Co., supra,
at p.
521; American Express Co.
v.
South Dakota,
The result, however, would be die same if we were to assume
arguendo,
that there was error of law in the refusal to find the ultimate fact of damage as an inference .from the evidentiary facts set out in the décision. The respondent even then' is faced with • the difficulty that the Commission did not think the inference permissible, and so declined to make it. One has only to read the opinions in
Pennsylvania R. Co.
v.
International Coal Co., supra,
and the cases that have followed it, to see how much the rule of damages is beset by delicate distinctions, how preeminently in applying it there is a call upon the judge to think and act judicially, to use judgment and discretion.. Errors.of law in the discharge of a function essentially judicial are not subject to be corrected through the writ of mandamus any more than errors of fact. If the Commission, had declined to . listen to the'claim for reparation, or finding reparation due had declined to order payment, mandamus might have been available to hold it
*394
to its duty. That is not what happened. The Commission heard the complaint and proceeded to. a decision. - If the mandamus were to stand; the result would not be to compel the Commission to adjudicate the cause, for that it has ¿lready done; the result would be to compel an adjudication in a particular way. The rule is elementary that this is not the function of the writ. Mandamus is an appropriate remedy to compel a judicial officer to act. It may not be used as. a substitute for an appeal or writ of error to dictate the manner of his action.
Interstate Commerce Commission
v.
Waste Merchants
Ass’n,
The policy of the law has been to give finality to, orders of the Commission negative in form and substance, and to keep them out . of the courts.
Standard Oil Co.
v.
United States, supra; Alton R. Co.
v.
United States, supra; Procter & Gamble Co.
v.
United States, supra; B. & O. R. Co.
v.
Brady, supra.
A dissatisfied' complainant is not permitted to escape these limitations indirectly by broadening tbie functions of "mandamus when he is barred from more direct" review.
I.C.C.
v.
Waste Merchants Ass’n, supra,
p. 35. There have been like attempts before in other branches of the law of remedies.
In re Pennsylvania Co.,
The judgment of the Court of Appeals should be reversed and the petition for the writ denied.
Reversed.
Notes
Cf. Donner Steel Co.
v.
Delaware, Lackawanna & Western R. Co.,
Memphis Freight Bureau
v.
Chicago & Eastern Illinois Ry. Co.,
