Based on a regular array of cubic unit cells, each containing a body-centered spherical void, we created an idealized three-dimensional model for both subchondral trabecular bone and a class of porous foams. By considering only face-to-face stacking of unit cells, the inherent symmetry was such that, except at the surface, the displacements and stresses within any one unit cell were representative of the entire porous structure. Using prescribed displacements the model was loaded in both uniaxial compressive strain and uniaxial shear strain. Based on the response to these loads, we found the tensor of elastic constants for an equivalent homogeneous elastic solid with cubic symmetry. We then compared the predicted modulus with our experimental values for bovine trabecular bone and literature values for an open-celled latex rubber foam.