Cranbury is a census-designated place and unincorporated area located within Cranbury Township, in Middlesex County, New Jersey, United States. The population was 2,008 at the 2000 census. Despite the similarity in the name of Cranbury Township and the CDP, the two are not one and the same, as is the case for most paired Township / CDP combinations.
Cranbury is located at 40°18′26″N 74°30′59″W / 40.30722°N 74.51639°W / 40.30722; -74.51639 (40.307108, -74.516403).
According to the United States Census Bureau, the CDP has a total area of 3.2 km² (1.2 mi²). 3.2 km² (1.2 mi²) of it is land and 0.1 km² (0.04 mi²) of it (1.60%) is water.