Downloading is usually cheaper, and occasionally it is free altogether.
Digital storefronts run frequent sales and skip the packaging and distribution costs, though physical copies can undercut them when a disc is being cleared from shelves.