---
title: "Line Source Geometry (Piping & Rods)"
short_title: "Line Source"
slug: "line-source"
tool_name: "line_source_calc"
category: "Photon & External Dosimetry"
category_id: "photon-external"
formula_display: "d ≤ L/2: I₂ = I₁ × (d₁ / d₂); d > L/2: I₂ = I₁ × (d₁ / d₂)² × (d₁ / (L/2))"
canonical_url: "https://radcalc.app/calculators/line-source"
markdown_url: "https://radcalc.app/calculators/line-source.md"
repo_markdown_path: "calcs/line_source.md"
mcp_http_endpoint: "https://radcalc.app/mcp"
mcp_sse_endpoint: "https://radcalc.app/mcp/sse"
rest_api_endpoint: "https://radcalc.app/api/calculate/line_source_calc"
---

# Line Source Geometry (Piping & Rods)

> **Domain:** Photon & External Dosimetry · **MCP Tool:** `line_source_calc` · **Repository Spec:** `calcs/line_source.md`

Models radiation field geometry around active process piping, fuel rods, and linear isotope arrays, transitioning from cylindrical 1/r falloff near the pipe to inverse-square 1/r² far away.

## Governing Equation

```math
d ≤ L/2: I₂ = I₁ × (d₁ / d₂); d > L/2: I₂ = I₁ × (d₁ / d₂)² × (d₁ / (L/2))
```

**Algebraic & Physical Forms:** `Near-field (d ≤ L/2): I₂ = I₁ × (d₁ / d₂); Far-field (d > L/2): inverse-square transition`

## Parameters & Base Units

| Field (`solve_for`) | Symbol | Parameter Name | Base Unit | Preset Example | Slider Range | Description |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| `length` | **L** | Line Source Length (L) | `cm` | `400` | `10 – 2000` | Physical active length of the contaminated pipe or rod. |
| `exposure_1` | **I₁** | Reference Exposure Rate (I₁) | `mR/hr` | `200` | `1 – 5000` | Measured exposure rate at reference perpendicular distance d₁. |
| `distance_1` | **d₁** | Reference Standoff Distance (d₁) | `cm` | `30` | `5 – 200` | Perpendicular distance from the line axis where I₁ was surveyed. |
| `distance_2` | **d₂** | Worker Standoff Distance (d₂) | `cm` | `60` | `5 – 1000` | Target worker perpendicular standoff distance from the pipe axis. |
| `exposure_2` | **I₂** | Calculated Exposure Rate (I₂) | `mR/hr` | `Solved` | `0.1 – 5000` | Expected radiation field intensity at target standoff distance d₂. |

## Supported `solve_for` Targets

- **`exposure_2`**: Find Dose Rate at Standoff Distance
- **`distance_2`**: Find Distance for Target Dose Rate

## Standard Reference Presets

- **Reactor Coolant Pipe (4 m pipe, near-field)**: 400 cm active pipe, 200 mR/hr at 30 cm → 60 cm standoff (Near field d ≤ L/2: 1/r falloff → 100 mR/hr) (`length=400`, `exposure_1=200`, `distance_1=30`, `distance_2=60`, `solve_for="exposure_2"`)
- **Resin Sluice Line Far-Field Transition**: 200 cm pipe, 500 mR/hr at 20 cm → 300 cm standoff (Far field d > L/2: inverse square transition → 4.4 mR/hr) (`length=200`, `exposure_1=500`, `distance_1=20`, `distance_2=300`, `solve_for="exposure_2"`)
- **Standoff for 5 mR/hr Radiation Area**: Find safe standoff distance from a 600 cm pipe with 120 mR/hr at 50 cm to reach 5 mR/hr boundary (`length=600`, `exposure_1=120`, `distance_1=50`, `exposure_2=5`, `solve_for="distance_2"`)
- **5 mR Boundary Around 3 m Pipe**: Find standoff distance D₂ for 5 mR around a 300 cm header reading 150 mR at 30 cm (`length=300`, `exposure_1=150`, `exposure_2=5`, `distance_1=30`, `solve_for="distance_2"`)

## Operational Health Physics & ALARA Notes

- In the near field (standoff distance d < L/2), exposure drops inversely with distance (1/d) due to cylindrical symmetry.
- In the far field (d > L/2), the line source increasingly resembles a point source and transitions to inverse square falloff (1/d²).
- The transition threshold occurs at half the line length (L/2).

## AI Agent & MCP Server Integration

### 1. Model Context Protocol (MCP) Tool Call (`line_source_calc`)

Connect any MCP client to `/mcp` (Streamable HTTP) or `/mcp/sse` (SSE via `mcp-remote`) and invoke:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "line_source_calc",
    "arguments": {
      "length": 400,
      "exposure_1": 200,
      "distance_1": 30,
      "distance_2": 60,
      "solve_for": "exposure_2"
    }
  }
}
```

### 2. Direct REST API Execution (`POST /api/calculate/line_source_calc`)

```bash
curl -X POST https://radcalc.app/api/calculate/line_source_calc \
  -H "Content-Type: application/json" \
  -d '{
  "length": 400,
  "exposure_1": 200,
  "distance_1": 30,
  "distance_2": 60,
  "solve_for": "exposure_2"
}'
```

### 3. Interactive Web Calculator & 3D Simulation

- **Web UI & 3D Transport Simulation:** [https://radcalc.app/calculators/line-source](https://radcalc.app/calculators/line-source)
- **Markdown Spec Endpoint:** [https://radcalc.app/calculators/line-source.md](https://radcalc.app/calculators/line-source.md)
- **All Agent Instructions & MCP Setup:** [https://radcalc.app/agents](https://radcalc.app/agents)
