REG- Donated Stock from Corp

If a Corp donate Stock to a Charity, what is the value we use to calculate?