A cupholder for holding containers is provided with a number of container-holding cavities. Each of the container-holding cavities includes pairs of gripping flanges that extend inwardly toward centers of the cavities. The flanges include gripping points that extend toward each other and exert a gripping force along a bottom of an inserted container. The gripping flanges are pliable to accept a variety of inserted container sizes, but resilient enough to exert a container-holding force against containers inserted into the container-holding cavities.