drc calculation