Deductions & credits

Exactly how do you determine depreciation amount on a vehicle when you have only taken mileage?  Is there a formula to determine that amount?
@ThomasM125