While currently functional, a cracked screen can quickly develop into full failure. Not withstanding the operational status of you iPad, a cracked or broken glass screen can represent a safety hazard.
For practical purposes, in lieu of repairing and returning your own iPad, Apple usually exchange the iPad for a renewed/refurbished iPad of the same model and specification. The cost of the exchange is the same as would otherwise be charged for repair. Unless you have benefit of an active AppleCare plan, an out-of-warranty repair while expensive will be somewhat less than the cost of a replacement iPad.
As for out-of-warranty repair costs, Apple offers a fixed-price price repair. You can verify eligibility and cost for your region/country here:
iPad Repair & Service - Apple Support