jeżeli znasz dokładne wartości to możesz użyć funkcji calc
index.html
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>child and parent</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
</head>
<body>
<div class='parent'>
<div class='child'>
</div>
</div>
</body>
</html>
main.css
.parent {
background-color: red;
height: 100px;
width: calc(520px + 20px);
}
.child {
background-color: green;
height: 100px;
width: 520px;
}