Macromolecular crowding affects protein folding, binding, and aggregation, and such effects have been studied by computer simulations. In direct simulations of test proteins mixed with crowders, the proteins have been represented at a coarse-grained level and the crowders modeled as spheres; protein-crowder interactions are assumed to be repulsive. Our recently developed postprocessing approach has allowed test proteins to be represented at the atomic level [1]. In this approach, the motions of a test protein and those of the crowders are followed in two separate simulations. The effects of crowding are then modeled by calculating Δμ, the crowding-induced change in the chemical potential of the test protein. For a repulsive type of protein-crowder interactions, Δμ is related to the fraction, f, of allowed placements of the test protein into a box of crowders. An algorithm has been developed to calculate f for spherical crowders. Here we present a new algorithm that enables the calculation of f for atomistic crowders. We express f as the correlation function of two spatial functions, one defined for the crowders and one for the test protein. The correlation function was calculated by fast Fourier transform. As the first application, we studied the effects of ellipsoidal crowders on the folding and binding free energies of atomistic proteins, and found that the nonspherical shapes of the crowders lead to greater stabilization effects than spherical crowders of the same volume. This finding has significant physiological implications since the macromolecules inside cells have many different shapes. Additional applications to proteins as crowders and other in vitro crowding agents are underway, marking a major step toward realistic modeling of intracellular environments.[1] S. Qin, and H.-X. Zhou, Biophys J 97, 12 (2009).