공공계약 지체상금 계산기
계약금액과 지체일수를 입력해 공사·물품·용역 지체상금을 국가계약법 요율로 계산합니다.
입력값은 브라우저에서만 계산되며 서버로 전송되지 않습니다.
이미 이행한 부분이 있으면 입력하세요. 없으면 0입니다.
계약서·감독관이 인정한 지체일수를 입력하세요.
계약금액의 30%를 넘으면 30%까지만 표시합니다.
예상 지체상금
1,500,000원
공사 · 0.0500%/일 × 30일
- 계약금액100,000,000원
- 공제액0원
- 산정 기준액100,000,000원
- 일일 요율0.0500%
- 상한액 (30%)30,000,000원
- 지체상금1,500,000원
| 계약 종류 | 일일 지체상금률 |
|---|---|
| 공사 | 0.05% |
| 물품 제조·구매 | 0.075% |
| 물품 수리·가공·대여·용역·기타 | 0.125% |
| 군용 음식료품 제조·구매 | 0.15% |
| 운송·보관·양곡가공 | 0.25% |
국가계약법 시행규칙 제75조의 지체상금률을 적용한 참고 계산입니다. 지방계약, 계약별 특약, 면제·감액 사유, 감독관이 인정한 지체일수와 공제 범위에 따라 실제 금액은 달라질 수 있습니다. 계약서와 발주기관의 기준을 우선하세요.
입력이 3초간 멈추면 이 브라우저에 자동 저장됩니다.
입력이 3초간 멈추면 이 브라우저에만 저장됩니다. 항목을 클릭하면 그때의 입력값으로 복원됩니다.
이 도구는 이렇게 계산합니다
결과를 믿기 전에 계산 원리와 가정을 확인하세요.
- 지체상금 = (계약금액 - 기성·기납 공제액) × 지체일수 × 계약 종류별 일일 요율.
- 국가계약법 시행규칙 제75조의 요율(공사 0.05%, 물품 제조·구매 0.075%, 용역 등 0.125%, 군용 음식료 0.15%, 운송·보관 등 0.25%)을 적용합니다.
- 30% 상한을 켜면 계약금액의 30%를 넘지 않도록 제한합니다. 지방계약·특약·면제 사유는 별도입니다.
자주 묻는 질문
지체상금률은 어디서 확인하나요?
국가계약법 시행규칙 제75조에 공사 0.05%, 물품 제조·구매 0.075%, 물품 수리·가공·대여·용역·기타 0.125%, 군용 음식료품 0.15%, 운송·보관·양곡가공 0.25%로 규정되어 있습니다. 지방계약은 지방계약법령과 조례를 확인하세요.
30% 상한은 자동으로 적용되나요?
체크박스를 켜면 계약금액의 30%를 상한으로 적용합니다. 실제 계약에서는 계약예규·특약·감면 사유에 따라 상한과 계산 방식이 달라질 수 있습니다.
기성·기납부분은 어떻게 반영하나요?
이미 이행한 부분의 금액을 공제액으로 입력하면 남은 계약금액에 대해서만 지체상금을 계산합니다. 공제 범위는 계약서와 발주기관 기준을 따릅니다.
제작 코드
이 페이지에서 실제로 사용하는 Vue 3 컴포넌트입니다. 계산식과 화면 구성을 그대로 확인하고 복사할 수 있습니다.
도구 전체 코드 보기
<script setup lang="ts">
import { computed, ref } from 'vue'
import { fmt, won } from '~/utils/calc'
import CalculatorHistory from '~/components/calculators/CalculatorHistory.vue'
const BASE_YEAR = 2026
const CAP_RATE = 0.3
const CONTRACT_TYPES = [
{ value: 'construction', label: '공사', rate: 0.0005 },
{ value: 'goods', label: '물품 제조·구매', rate: 0.00075 },
{ value: 'service', label: '물품 수리·가공·대여·용역·기타', rate: 0.00125 },
{ value: 'military', label: '군용 음식료품 제조·구매', rate: 0.0015 },
{ value: 'transport', label: '운송·보관·양곡가공', rate: 0.0025 },
] as const
const contractAmount = ref(100000000)
const deductionAmount = ref(0)
const delayDays = ref(30)
const contractType = ref<(typeof CONTRACT_TYPES)[number]['value']>('construction')
const applyCap = ref(true)
const type = computed(() => CONTRACT_TYPES.find((item) => item.value === contractType.value) ?? CONTRACT_TYPES[0])
const baseAmount = computed(() => Math.max(0, (Number(contractAmount.value) || 0) - (Number(deductionAmount.value) || 0)))
const days = computed(() => Math.max(0, Number(delayDays.value) || 0))
const rawPenalty = computed(() => Math.floor(baseAmount.value * type.value.rate * days.value))
const capAmount = computed(() => Math.floor(baseAmount.value * CAP_RATE))
const penalty = computed(() => (applyCap.value ? Math.min(rawPenalty.value, capAmount.value) : rawPenalty.value))
const capped = computed(() => applyCap.value && rawPenalty.value > capAmount.value)
const ratePercent = computed(() => type.value.rate * 100)
const historySnapshot = computed(() => ({
contractAmount: contractAmount.value,
deductionAmount: deductionAmount.value,
delayDays: delayDays.value,
contractType: contractType.value,
applyCap: applyCap.value,
}))
const historyLabel = computed(
() => `계약 ${fmt(baseAmount.value / 10000, 0)}만원 · ${type.value.label} · ${fmt(days.value, 0)}일`,
)
function restoreHistory(data: Record<string, unknown>) {
contractAmount.value = Number(data.contractAmount) || 0
deductionAmount.value = Number(data.deductionAmount) || 0
delayDays.value = Number(data.delayDays) || 0
const found = CONTRACT_TYPES.find((item) => item.value === data.contractType)
contractType.value = found?.value ?? 'construction'
applyCap.value = data.applyCap !== false
}
</script>
<template>
<div class="calc-card">
<div class="calc-base-year">{{ BASE_YEAR }}년 기준 · 국가계약법 시행규칙 제75조</div>
<div class="calc-grid">
<div class="calc-form">
<div class="calc-field">
<label for="penalty-contract">계약금액</label>
<div class="calc-inline">
<input
id="penalty-contract"
v-model.number="contractAmount"
class="calc-input"
type="number"
min="0"
step="100000"
inputmode="numeric"
/>
<span class="calc-unit">원</span>
</div>
</div>
<div class="calc-field">
<label for="penalty-deduction">기성·기납부분 공제액</label>
<div class="calc-inline">
<input
id="penalty-deduction"
v-model.number="deductionAmount"
class="calc-input"
type="number"
min="0"
step="100000"
inputmode="numeric"
/>
<span class="calc-unit">원</span>
</div>
<p class="calc-hint">이미 이행한 부분이 있으면 입력하세요. 없으면 0입니다.</p>
</div>
<div class="calc-field">
<label for="penalty-type">계약 종류</label>
<select id="penalty-type" v-model="contractType" class="calc-input">
<option v-for="item in CONTRACT_TYPES" :key="item.value" :value="item.value">
{{ item.label }} ({{ item.rate * 100 }}%/일)
</option>
</select>
</div>
<div class="calc-field">
<label for="penalty-days">지체일수</label>
<div class="calc-inline">
<input
id="penalty-days"
v-model.number="delayDays"
class="calc-input"
type="number"
min="0"
step="1"
inputmode="numeric"
/>
<span class="calc-unit">일</span>
</div>
<p class="calc-hint">계약서·감독관이 인정한 지체일수를 입력하세요.</p>
</div>
<div class="calc-field">
<label for="penalty-cap">
<input id="penalty-cap" v-model="applyCap" type="checkbox" />
30% 상한 적용
</label>
<p class="calc-hint">계약금액의 30%를 넘으면 30%까지만 표시합니다.</p>
</div>
</div>
<div class="calc-result" aria-live="polite">
<p class="calc-result-label">예상 지체상금</p>
<p class="calc-result-hero">{{ won(penalty) }}</p>
<p class="calc-result-sub">{{ type.label }} · {{ fmt(ratePercent, 4) }}%/일 × {{ fmt(days, 0) }}일</p>
<ul class="calc-result-list">
<li class="calc-result-row"><span>계약금액</span><strong>{{ won(contractAmount) }}</strong></li>
<li class="calc-result-row"><span>공제액</span><strong>{{ won(deductionAmount) }}</strong></li>
<li class="calc-result-row"><span>산정 기준액</span><strong>{{ won(baseAmount) }}</strong></li>
<li class="calc-result-row"><span>일일 요율</span><strong>{{ fmt(ratePercent, 4) }}%</strong></li>
<li class="calc-result-row"><span>상한액 (30%)</span><strong>{{ won(capAmount) }}</strong></li>
<li class="calc-result-row total"><span>지체상금</span><strong>{{ won(penalty) }}</strong></li>
</ul>
<p v-if="capped" class="calc-warning">계산액이 30% 상한을 넘어 상한액으로 제한했습니다.</p>
</div>
</div>
<div class="calc-table-wrap">
<table class="calc-table">
<caption class="sr-only">국가계약 지체상금률</caption>
<thead>
<tr><th>계약 종류</th><th>일일 지체상금률</th></tr>
</thead>
<tbody>
<tr v-for="item in CONTRACT_TYPES" :key="item.value">
<td>{{ item.label }}</td>
<td>{{ item.rate * 100 }}%</td>
</tr>
</tbody>
</table>
</div>
<p class="calc-note">
국가계약법 시행규칙 제75조의 지체상금률을 적용한 참고 계산입니다.
지방계약, 계약별 특약, 면제·감액 사유, 감독관이 인정한 지체일수와 공제 범위에 따라 실제 금액은 달라질 수 있습니다.
계약서와 발주기관의 기준을 우선하세요.
</p>
</div>
<CalculatorHistory tool="delay-penalty" :snapshot="historySnapshot" :label="historyLabel" @restore="restoreHistory" />
</template>
공통 입력 기록 컴포넌트 보기
<script setup lang="ts">
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
interface HistoryEntry {
id: string
at: number
label: string
data: Record<string, unknown>
}
const props = defineProps<{
tool: string
snapshot: Record<string, unknown>
label: string
}>()
const emit = defineEmits<{ restore: [data: Record<string, unknown>] }>()
const MAX_ENTRIES = 8
const SAVE_DELAY = 3000
const entries = ref<HistoryEntry[]>([])
const ready = ref(false)
const restoredId = ref('')
const storageKey = computed(() => `euninfo.calc-history.v1:${props.tool}`)
let saveTimer: ReturnType<typeof setTimeout> | undefined
let initialTimer: ReturnType<typeof setTimeout> | undefined
let initialSnapshot = ''
onMounted(() => {
load()
ready.value = true
// 부모의 onMounted 기본값 주입(날짜 등) 뒤에 초기 상태를 캡처한다.
initialTimer = setTimeout(() => {
initialSnapshot = JSON.stringify(props.snapshot)
}, 0)
})
onBeforeUnmount(() => {
if (saveTimer) clearTimeout(saveTimer)
if (initialTimer) clearTimeout(initialTimer)
})
watch(
() => props.snapshot,
() => {
if (!ready.value) return
if (saveTimer) clearTimeout(saveTimer)
saveTimer = setTimeout(save, SAVE_DELAY)
},
{ deep: true },
)
function load() {
try {
const raw = localStorage.getItem(storageKey.value)
if (!raw) return
const parsed: unknown = JSON.parse(raw)
if (!Array.isArray(parsed)) return
entries.value = parsed
.filter((item): item is HistoryEntry => {
if (!item || typeof item !== 'object') return false
const entry = item as Partial<HistoryEntry>
return typeof entry.id === 'string' && typeof entry.at === 'number' && typeof entry.label === 'string' && !!entry.data && typeof entry.data === 'object'
})
.slice(0, MAX_ENTRIES)
} catch {
entries.value = []
}
}
function persist() {
try {
localStorage.setItem(storageKey.value, JSON.stringify(entries.value))
} catch {
// 저장 공간이 없거나 브라우저가 막은 경우 조용히 무시한다.
}
}
function save() {
const data = JSON.parse(JSON.stringify(props.snapshot)) as Record<string, unknown>
const json = JSON.stringify(data)
if (!entries.value.length && json === initialSnapshot) return
const now = Date.now()
const label = props.label.trim() || '최근 입력'
const existing = entries.value.find((entry) => JSON.stringify(entry.data) === json)
if (existing) {
existing.at = now
existing.label = label
entries.value = [existing, ...entries.value.filter((entry) => entry.id !== existing.id)]
} else {
entries.value = [
{
id: `${now}-${Math.random().toString(36).slice(2, 8)}`,
at: now,
label,
data,
},
...entries.value,
].slice(0, MAX_ENTRIES)
}
persist()
}
function restore(entry: HistoryEntry) {
emit('restore', JSON.parse(JSON.stringify(entry.data)) as Record<string, unknown>)
restoredId.value = entry.id
setTimeout(() => {
if (restoredId.value === entry.id) restoredId.value = ''
}, 1500)
}
function remove(id: string) {
entries.value = entries.value.filter((entry) => entry.id !== id)
persist()
}
function clear() {
entries.value = []
try {
localStorage.removeItem(storageKey.value)
} catch {
// ignore
}
}
function formatTime(at: number) {
return new Intl.DateTimeFormat('ko-KR', {
month: 'numeric',
day: 'numeric',
hour: '2-digit',
minute: '2-digit',
}).format(new Date(at))
}
</script>
<template>
<section class="calc-history" aria-label="최근 입력 기록">
<div class="calc-history-head">
<strong>최근 입력</strong>
<span class="calc-history-count">{{ entries.length }}/{{ MAX_ENTRIES }}</span>
<button v-if="entries.length" type="button" class="calc-history-clear" @click="clear">전체 삭제</button>
</div>
<p v-if="!entries.length" class="calc-history-empty">
입력이 3초간 멈추면 이 브라우저에 자동 저장됩니다.
</p>
<ul v-else class="calc-history-list">
<li v-for="entry in entries" :key="entry.id" class="calc-history-row" :class="{ restored: restoredId === entry.id }">
<button type="button" class="calc-history-load" :aria-label="`${entry.label} 입력값 불러오기`" @click="restore(entry)">
<span class="calc-history-label">{{ entry.label }}</span>
<time class="calc-history-time">{{ formatTime(entry.at) }}</time>
</button>
<button type="button" class="calc-history-remove" :aria-label="`${entry.label} 기록 삭제`" @click="remove(entry.id)">×</button>
</li>
</ul>
<p class="calc-history-note">
입력이 3초간 멈추면 이 브라우저에만 저장됩니다. 항목을 클릭하면 그때의 입력값으로 복원됩니다.
</p>
</section>
</template>
함께 쓰면 좋은 도구
우리 업무에 맞는 계산기·관리 도구를 함께 만들 수 있습니다.
