The distance from the house doesn't mean much. I have seen them IN the house. Not a real smart move on their part, but hey its their well..
The septic tank is another story. The minimum distance I have seen in any law is 50'. That is with a fully cemented well, from top to bottom.
Not sure what you are asking, but I hope this helps some.