This document discusses improving range resolution in radar systems using nested Costas codes. It begins by introducing Costas codes and describing how increasing the time-bandwidth product beyond one leads to unwanted grating lobes. It then discusses various phase codes like Barker codes, P3, P4, and Frank codes that have good autocorrelation properties. It proposes nesting a Costas code with one of these phase codes using the Kronecker product to nullify grating lobes and improve peak sidelobe ratio (PSLR). Simulation results show nesting Costas with Frank, Barker, P3, and P4 codes decreases grating lobes and sidelobes for different time-bandwidth products, improving range resolution. The best PSLR obtained was -