% - rem into px

% - rem into px

how can I calculate mixed values  ?


 100% -5rem  and get the result in pixels 

thank you