calc(50% - 60px) code example Example: css calc body { width: calc(100vw - 8px); height: calc(100vh - 8px); }