This document discusses the numerical analysis and design of an Exhaust Gas Recirculation (EGR) cooler. The objective is to design a compact EGR cooler that is small in volume, has steady performance, is easy to clean, and durable at high temperatures. Computational fluid dynamics analysis was performed on shell and tube heat exchangers with segmental and helical baffles. Kern's method was used to design the heat exchanger with segmental baffles to cool EGR gas. The analysis found that the shell side pressure drop is lower for a heat exchanger with helical baffles compared to one with segmental baffles, due to smoother, rotational flow with the helical baffle