\documentclass[margin=5pt, tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{intersections}
\usetikzlibrary{backgrounds}
\usetikzlibrary{patterns}
\usetikzlibrary{positioning}
\usetikzlibrary{angles, quotes, babel}
\usepackage{amsmath, amssymb}
\begin{document}
% Gegebene Größen
\pgfmathsetmacro{\R}{3} %
\begin{tikzpicture}[%scale=0.7,
font=\footnotesize,
background rectangle/.style={draw=none, fill=black!1, rounded corners}, show background rectangle,
]
\draw[fill=lightgray] (-\R,-\R) rectangle (\R,\R);