Camber is usually provided to minimize total deflection due to applied loads accordingly it depends on span, cross section moment of inertia and dead load. So, theoretically you calculate the deflection occur due to dead load only and provide camber with approx. same value.
Practically, camber is not appreciated by most fabricators since it is expensive, time consuming process and the end result accuarcy is rarely close to your calculation specially when the camber is very small (less than an inch).