this happened to my first beagle we had, she lived until she was 19. she was hit by a snowplow in the road and had to have her tail removed. she looked kind of funny with no tail, but the surgery went well.
i couldnt tell you the cost though, i would have been too young. hope your dogs alright though.