know something backwards

idiom

Definition of know something backwards

British
: to know something completely He knew the process backwards.