How close was the Titanic to miss the iceberg

Was ist really close with only a couple of inches away or was there no chance at all of them missing the iceberg?